]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.8] bpo-38316: Fix co_stacksize documentation (GH-16983) (GH-17661)
authorBatuhan Taşkaya <47358913+isidentical@users.noreply.github.com>
Thu, 19 Dec 2019 14:44:27 +0000 (17:44 +0300)
committerMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Thu, 19 Dec 2019 14:44:27 +0000 (06:44 -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 46d50ad600ff52391b47f8bdb08a5a2af69a5d42..c530e4117af97c3c640a031cbc72fec5a674d57c 100644 (file)
@@ -925,8 +925,8 @@ Internal types
       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.
+      required stack size; :attr:`co_flags` is an integer encoding a number
+      of flags for the interpreter.
 
       .. index:: object: generator