]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
bpo-38316: Fix co_stacksize documentation (GH-16983)
authorBatuhan Taşkaya <47358913+isidentical@users.noreply.github.com>
Sun, 15 Dec 2019 22:02:47 +0000 (01:02 +0300)
committerVictor Stinner <vstinner@python.org>
Sun, 15 Dec 2019 22:02:47 +0000 (23:02 +0100)
Doc/reference/datamodel.rst

index b22ed92ec964d2478ae5d907814e442e9b96bb1e..c242041c73d4164c2dc8c3ff56e577e8887389e6 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