mirror of
https://github.com/python/cpython.git
synced 2025-11-01 18:51:43 +00:00
Change all the function attributes from func_* -> __*__. This gets rid
of func_name, func_dict and func_doc as they already exist as __name__, __dict__ and __doc__.
This commit is contained in:
parent
27d517b21b
commit
221085de89
37 changed files with 160 additions and 184 deletions
|
|
@ -622,7 +622,7 @@ default parameters, which are found below TOS.
|
|||
\end{opcodedesc}
|
||||
|
||||
\begin{opcodedesc}{MAKE_CLOSURE}{argc}
|
||||
Creates a new function object, sets its \var{func_closure} slot, and
|
||||
Creates a new function object, sets its \var{__closure__} slot, and
|
||||
pushes it on the stack. TOS is the code associated with the function.
|
||||
If the code object has N free variables, the next N items on the stack
|
||||
are the cells for these variables. The function also has \var{argc}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue