mirror of
https://github.com/python/cpython.git
synced 2025-11-01 10:45:30 +00:00
gh-93738: Disallow pre-v3 syntax in the C domain (#97962)
Also, disable using invalid sphinx-lint 0.6.2.
This commit is contained in:
parent
cd0fde27f9
commit
f612565bd3
7 changed files with 11 additions and 33 deletions
|
|
@ -411,7 +411,7 @@ that subclass, which may be defined in different module than yours.
|
|||
pass
|
||||
|
||||
For a method to get its "defining class", it must use the
|
||||
:c:data:`METH_METHOD | METH_FASTCALL | METH_KEYWORDS`
|
||||
:data:`METH_METHOD | METH_FASTCALL | METH_KEYWORDS`
|
||||
:c:type:`calling convention <PyMethodDef>`
|
||||
and the corresponding :c:type:`PyCMethod` signature::
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue