diff options
| author | Craig Jennings <c@cjennings.net> | 2025-08-14 22:58:58 -0500 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2025-08-14 22:58:58 -0500 |
| commit | 82ba818ff456bcd6d56a06226e3f27e98fbb55c3 (patch) | |
| tree | 158cfc17b2f644a10f063cb546752cfaae12c97f /devdocs/python~3.12/c-api%2Fmethod.html | |
| parent | 9278ddd4ea1a8b1a4c1edaa8894516e3f48d245b (diff) | |
| download | dotemacs-82ba818ff456bcd6d56a06226e3f27e98fbb55c3.tar.gz dotemacs-82ba818ff456bcd6d56a06226e3f27e98fbb55c3.zip | |
removing all downloaded devdocs files
Diffstat (limited to 'devdocs/python~3.12/c-api%2Fmethod.html')
| -rw-r--r-- | devdocs/python~3.12/c-api%2Fmethod.html | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/devdocs/python~3.12/c-api%2Fmethod.html b/devdocs/python~3.12/c-api%2Fmethod.html deleted file mode 100644 index 492a7ca1..00000000 --- a/devdocs/python~3.12/c-api%2Fmethod.html +++ /dev/null @@ -1,21 +0,0 @@ - <span id="instancemethod-objects"></span><h1>Instance Method Objects</h1> <p id="index-0">An instance method is a wrapper for a <a class="reference internal" href="structures#c.PyCFunction" title="PyCFunction"><code>PyCFunction</code></a> and the new way to bind a <a class="reference internal" href="structures#c.PyCFunction" title="PyCFunction"><code>PyCFunction</code></a> to a class object. It replaces the former call <code>PyMethod_New(func, NULL, class)</code>.</p> <dl class="c var"> <dt class="sig sig-object c" id="c.PyInstanceMethod_Type"> -<code>PyTypeObject PyInstanceMethod_Type</code> </dt> <dd> -<p>This instance of <a class="reference internal" href="type#c.PyTypeObject" title="PyTypeObject"><code>PyTypeObject</code></a> represents the Python instance method type. It is not exposed to Python programs.</p> </dd> -</dl> <dl class="c function"> <dt class="sig sig-object c" id="c.PyInstanceMethod_Check"> -<code>int PyInstanceMethod_Check(PyObject *o)</code> </dt> <dd> -<p>Return true if <em>o</em> is an instance method object (has type <a class="reference internal" href="#c.PyInstanceMethod_Type" title="PyInstanceMethod_Type"><code>PyInstanceMethod_Type</code></a>). The parameter must not be <code>NULL</code>. This function always succeeds.</p> </dd> -</dl> <dl class="c function"> <dt class="sig sig-object c" id="c.PyInstanceMethod_New"> -<code>PyObject *PyInstanceMethod_New(PyObject *func)</code> </dt> <dd> -<em class="refcount">Return value: New reference.</em><p>Return a new instance method object, with <em>func</em> being any callable object. <em>func</em> is the function that will be called when the instance method is called.</p> </dd> -</dl> <dl class="c function"> <dt class="sig sig-object c" id="c.PyInstanceMethod_Function"> -<code>PyObject *PyInstanceMethod_Function(PyObject *im)</code> </dt> <dd> -<em class="refcount">Return value: Borrowed reference.</em><p>Return the function object associated with the instance method <em>im</em>.</p> </dd> -</dl> <dl class="c function"> <dt class="sig sig-object c" id="c.PyInstanceMethod_GET_FUNCTION"> -<code>PyObject *PyInstanceMethod_GET_FUNCTION(PyObject *im)</code> </dt> <dd> -<em class="refcount">Return value: Borrowed reference.</em><p>Macro version of <a class="reference internal" href="#c.PyInstanceMethod_Function" title="PyInstanceMethod_Function"><code>PyInstanceMethod_Function()</code></a> which avoids error checking.</p> </dd> -</dl> <div class="_attribution"> - <p class="_attribution-p"> - © 2001–2023 Python Software Foundation<br>Licensed under the PSF License.<br> - <a href="https://docs.python.org/3.12/c-api/method.html" class="_attribution-link">https://docs.python.org/3.12/c-api/method.html</a> - </p> -</div> |
