Peter Bierma and GitHub
18529b580b
gh-141004: Document PyFunction_SetKwDefaults (GH-141294)
2025-11-09 12:49:17 -05:00
RayXu and GitHub
9037a386c6
docs: fix a grammatical error in function.rst ( #140990 )
2025-11-06 11:18:30 +05:30
Dino Viehland and GitHub
ff7bb565d8
gh-139924: Add PyFunction_PYFUNC_EVENT_MODIFY_QUALNAME event for function watchers ( #139925 )
...
Add PyFunction_PYFUNC_EVENT_MODIFY_QUALNAME event for function watchers
2025-10-10 15:25:38 -07:00
ca87a47b3d
gh-135755: Docs: C API: Document missing PyFunction_GET* macros (GH-135762)
...
Co-authored-by: Brian Schubert <[email protected] >
Co-authored-by: Petr Viktorin <[email protected] >
2025-06-25 08:44:55 +00:00
Julien Palard and GitHub
24a47155d2
Fix sphinx-lint warnings (default-role used). (GH-134647)
2025-05-25 21:22:52 +02:00
Stan Ulbrych and GitHub
9837c2a214
gh-130169: Fix broken list markup in Doc/c-api/function.rst ( #130174 )
2025-02-16 13:55:31 +03:00
Alex Waygood and GitHub
81a15ea74e
gh-101100: Further improve docs on function attributes ( #113001 )
2023-12-12 20:21:12 +00:00
4c5b9c107a
gh-101100: Improve documentation on function attributes ( #112933 )
...
Co-authored-by: Hugo van Kemenade <[email protected] >
2023-12-11 12:00:42 +02:00
Alex Waygood and GitHub
e9707d3c3d
gh-101100: Improve documentation of code object attributes ( #112781 )
2023-12-06 20:15:46 +00:00
Adam Turner and GitHub
6ab463684b
GH-97950: Use new-style index directive ('object') ( #104158 )
...
* Uncomment object removal in pairindextypes
* Use new-style index directive ('object') - C API
* Use new-style index directive ('object') - Library
* Use new-style index directive ('object') - Reference
* Use new-style index directive ('object') - Tutorial
2023-05-04 13:04:41 +03:00
1e703a4733
gh-102381: don't call watcher callback with dead object ( #102382 )
...
Co-authored-by: T. Wouters <[email protected] >
2023-03-07 17:10:58 -07:00
Yeojin Kim and GitHub
3c0a31cbfd
Docs: fix typos in PyFunction_WatchCallback docs and in 3.12 NEWS (GH-101980)
...
- possitibility => possibility
- disaallowed => disallowed
2023-02-17 00:47:02 -08:00
mpage and GitHub
3db0a21f73
gh-91053: Add an optional callback that is invoked whenever a function is modified ( #98175 )
2022-11-22 13:06:44 +01:00
a41ed975e8
GH-91049: Introduce set vectorcall field API for PyFunctionObject (GH-92257)
...
Co-authored-by: Andrew Frost <[email protected] >
Co-authored-by: Itamar Ostricher <[email protected] >
2022-09-15 16:42:37 +01:00
Gabriele N. Tornetta and GitHub
2f180ce2cb
bpo-44530: Add co_qualname field to PyCodeObject (GH-26941)
2021-07-07 12:21:51 +01:00
Victor Stinner and GitHub
44085a3fc9
bpo-42990: Refactor _PyFrame_New_NoTrack() (GH-24566)
...
* Refactor _PyFrame_New_NoTrack() and PyFunction_NewWithQualName()
code.
* PyFrame_New() checks for _PyEval_BuiltinsFromGlobals() failure.
* Fix a ref leak in _PyEval_BuiltinsFromGlobals() error path.
* Complete PyFunction_GetModule() documentation: it returns a
borrowed reference and it can return NULL.
* Move _PyEval_BuiltinsFromGlobals() definition to the internal C
API.
* PyFunction_NewWithQualName() uses _Py_IDENTIFIER() API for the
"__name__" string to make it compatible with subinterpreters.
2021-02-18 19:20:16 +01:00
Antonio Cuni and GitHub
315fc52db1
bpo-42528: Improve the docs of most Py*_Check{,Exact} API calls (GH-23602)
...
I think that none of these API calls can fail, but only few of them are
documented as such. Add the sentence "This function always succeeds" (which is
the same already used e.g. by PyNumber_Check) to all of them.
2021-01-06 12:38:26 +01:00
Serhiy Storchaka and GitHub
e835b31d2b
bpo-38600: NULL -> `NULL`. (GH-17001)
...
Also fix some other formatting.
2019-10-30 21:37:16 +02:00
Serhiy Storchaka and GitHub
25fc088607
bpo-38600: Change the mark up of NULL in the C API documentation. (GH-16950)
...
Replace all *NULL* with ``NULL``.
2019-10-30 12:03:20 +02:00
Stéphane Wirtel and Kushal Das
cbb6484573
Doc: Replace the deprecated highlightlang directive by highlight. ( #13377 )
...
highlightlang is deprecated since April 2018 in Sphinx.
See https://github.com/sphinx-doc/sphinx/pull/4845
2019-05-17 15:25:34 +05:30
Benjamin Peterson
387235085c
improve PyFunction_New docs ( closes #26986 )
...
Patch from Xiang Zhang.
2016-05-09 23:43:53 -07:00
Martin Panter
c04fb56e36
Issue #26304 : Change "allows to <verb>" to "allows <verb>ing" or similar
...
The original form is incorrect grammar and feels awkward, even though the
meaning is clear.
2016-02-10 05:44:01 +00:00
Antoine Pitrou
86a36b500a
PEP 3155 / issue #13448 : Qualified name for classes and functions.
2011-11-25 18:56:07 +01:00
Georg Brandl
60203b41b0
Migrate to Sphinx 1.0 C language constructs.
2010-10-06 10:11:56 +00:00
Alexandre Vassalotti
3065b87a07
Mention the behaviour of PyFunction_SetAnnotations() on error.
2008-07-13 22:28:42 +00:00
Alexandre Vassalotti
b0c81654f7
Added documentation for PyFunction_GetAnnotations() and
...
PyFunction_SetAnnotations().
2008-07-13 22:26:50 +00:00
Georg Brandl
54a3faae08
Split C API docs in Py3k branch.
2008-01-20 09:30:57 +00:00