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

Victor Stinner webhook-mailer at python.org
Sun Dec 15 17:02:51 EST 2019


https://github.com/python/cpython/commit/d587272fe3b0fcad2f23a490e76f9f82ca7d64ef
commit: d587272fe3b0fcad2f23a490e76f9f82ca7d64ef
branch: master
author: Batuhan Taşkaya <47358913+isidentical at users.noreply.github.com>
committer: Victor Stinner <vstinner at python.org>
date: 2019-12-15T23:02:47+01:00
summary:

 bpo-38316: Fix co_stacksize documentation (GH-16983)

files:
M Doc/reference/datamodel.rst

diff --git a/Doc/reference/datamodel.rst b/Doc/reference/datamodel.rst
index b22ed92ec964d..c242041c73d41 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