mirror of
https://github.com/python/cpython.git
synced 2025-09-28 11:15:17 +00:00
Clarify a paragraph in the new metaclass docs
This commit is contained in:
parent
185f401308
commit
b267475ccf
1 changed files with 3 additions and 3 deletions
|
@ -1656,9 +1656,9 @@ created by the compiler if any methods in a class body refer to either
|
||||||
lexical scoping, while the class or instance that was used to make the
|
lexical scoping, while the class or instance that was used to make the
|
||||||
current call is identified based on the first argument passed to the method.
|
current call is identified based on the first argument passed to the method.
|
||||||
|
|
||||||
After the class object is created, any class decorators included in the
|
After the class object is created, it is passed to the class decorators
|
||||||
function definition are invoked and the resulting object is bound in the
|
included in the class definition (if any) and the resulting object is bound
|
||||||
local namespace to the name of the class.
|
in the local namespace as the defined class.
|
||||||
|
|
||||||
.. seealso::
|
.. seealso::
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue