[Python-checkins] [3.8] bpo-38316: Fix co_stacksize documentation (GH-16983) (GH-17661)

Miss Islington (bot) webhook-mailer at python.org
Thu Dec 19 09:44:34 EST 2019


https://github.com/python/cpython/commit/eba61f33d60cc63e35d5f5fcada837a66c89774a
commit: eba61f33d60cc63e35d5f5fcada837a66c89774a
branch: 3.8
author: Batuhan Taşkaya <47358913+isidentical at users.noreply.github.com>
committer: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com>
date: 2019-12-19T06:44:27-08:00
summary:

[3.8] bpo-38316: Fix co_stacksize documentation (GH-16983) (GH-17661)



(cherry picked from commit d587272fe3b0fcad2f23a490e76f9f82ca7d64ef)

Co-authored-by: Batuhan Taşkaya <47358913+isidentical at users.noreply.github.com>





https://bugs.python.org/issue38316



Automerge-Triggered-By: @vstinner

files:
M Doc/reference/datamodel.rst

diff --git a/Doc/reference/datamodel.rst b/Doc/reference/datamodel.rst
index 46d50ad600ff5..c530e4117af97 100644
--- a/Doc/reference/datamodel.rst
+++ b/Doc/reference/datamodel.rst
@@ -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
 



More information about the Python-checkins mailing list