diff options
author | Victor Stinner <vstinner@python.org> | 2024-02-19 12:20:46 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-19 12:20:46 (GMT) |
commit | aa8c1a0d1626b5965c2f3a1d5af15acbb110eac1 (patch) | |
tree | 8bef938d8f5ea9f1f7fb4a7f81e1cc24540b37cb /Include | |
parent | cbe809dfa94385bacaa24beee3976ba77a395589 (diff) | |
download | cpython-aa8c1a0d1626b5965c2f3a1d5af15acbb110eac1.zip cpython-aa8c1a0d1626b5965c2f3a1d5af15acbb110eac1.tar.gz cpython-aa8c1a0d1626b5965c2f3a1d5af15acbb110eac1.tar.bz2 |
gh-114626: Add again _PyCFunctionFastWithKeywords name (GH-115561)
Keep the old private _PyCFunctionFastWithKeywords name (Python 3.7)
as an alias to the new public name PyCFunctionFastWithKeywords
(Python 3.13a4).
_PyCFunctionWithKeywords doesn't exist in Python 3.13a3, whereas
_PyCFunctionFastWithKeywords was removed in Python 3.13a4.
Diffstat (limited to 'Include')
-rw-r--r-- | Include/methodobject.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Include/methodobject.h b/Include/methodobject.h index 452f891..3927281 100644 --- a/Include/methodobject.h +++ b/Include/methodobject.h @@ -31,7 +31,7 @@ typedef PyObject *(*PyCMethod)(PyObject *, PyTypeObject *, PyObject *const *, // Note that the underscore-prefixed names were documented in public docs; // people may be using them. typedef PyCFunctionFast _PyCFunctionFast; -typedef PyCFunctionWithKeywords _PyCFunctionWithKeywords; +typedef PyCFunctionFastWithKeywords _PyCFunctionFastWithKeywords; // Cast an function to the PyCFunction type to use it with PyMethodDef. // |