Skip to content

Commit 917419f

Browse files
isidenticalmiss-islington
authored andcommitted
[3.7] bpo-38316: Fix co_stacksize documentation (GH-16983). (GH-17660)
(cherry picked from commit d587272) Co-authored-by: Batuhan Taşkaya <[email protected]> https://bugs.python.org/issue38316 Automerge-Triggered-By: @vstinner
1 parent 54bd737 commit 917419f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Doc/reference/datamodel.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -922,8 +922,8 @@ Internal types
922922
compiled; :attr:`co_firstlineno` is the first line number of the function;
923923
:attr:`co_lnotab` is a string encoding the mapping from bytecode offsets to
924924
line numbers (for details see the source code of the interpreter);
925-
:attr:`co_stacksize` is the required stack size (including local variables);
926-
:attr:`co_flags` is an integer encoding a number of flags for the interpreter.
925+
:attr:`co_stacksize` is the required stack size; :attr:`co_flags` is an
926+
integer encoding a number of flags for the interpreter.
927927

928928
.. index:: object: generator
929929

0 commit comments

Comments
 (0)