PEP 447: Resolve uses of the default role (#3396)

This commit is contained in:
Adam Turner 2023-09-01 20:27:20 +01:00 committed by GitHub
parent 5fcb01a22c
commit 27e9d90500
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -297,7 +297,7 @@ to ``tp_flags`` to indicate that new slot must be used.
Use of this hook by the interpreter
-----------------------------------
The new method is required for metatypes and as such is defined on `type_`.
The new method is required for metatypes and as such is defined on ``type_``.
Both ``super.__getattribute__`` and
``object.__getattribute__``/`PyObject_GenericGetAttr`_
(through ``_PyType_Lookup``) use the this ``__getdescriptor__`` method when