]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.7] bpo-38316: Fix co_stacksize documentation (GH-16983). (GH-17660)
authorBatuhan Taşkaya <47358913+isidentical@users.noreply.github.com>
Thu, 19 Dec 2019 14:41:49 +0000 (17:41 +0300)
committerMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Thu, 19 Dec 2019 14:41:49 +0000 (06:41 -0800)
(cherry picked from commit d587272fe3b0fcad2f23a490e76f9f82ca7d64ef)

Co-authored-by: Batuhan Taşkaya <47358913+isidentical@users.noreply.github.com>
https://bugs.python.org/issue38316

Automerge-Triggered-By: @vstinner
Doc/reference/datamodel.rst

index b4f9ddc1194cbfdd80fa1f1946446d5a1277574b..c38dcdc4e512d3b4701bf6a905306a3b5520d95e 100644 (file)
@@ -922,8 +922,8 @@ Internal types
       compiled; :attr:`co_firstlineno` is the first line number of the function;
       :attr:`co_lnotab` is a string encoding the mapping from bytecode offsets to
       line numbers (for details see the source code of the interpreter);
-      :attr:`co_stacksize` is the required stack size (including local variables);
-      :attr:`co_flags` is an integer encoding a number of flags for the interpreter.
+      :attr:`co_stacksize` is the required stack size; :attr:`co_flags` is an
+      integer encoding a number of flags for the interpreter.
 
       .. index:: object: generator