summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBatuhan Taşkaya <47358913+isidentical@users.noreply.github.com>2019-12-19 17:41:49 +0300
committerMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2019-12-19 06:41:49 -0800
commit917419f58b2869d71691c5ba54a9e02e5dcf73b2 (patch)
tree78631652a58c20e006d795603c06dab1e89f8cc6
parent54bd737d3bd226ce6ffe2f494cc3e3943584de72 (diff)
downloadcpython-git-917419f58b2869d71691c5ba54a9e02e5dcf73b2.tar.gz
[3.7] bpo-38316: Fix co_stacksize documentation (GH-16983). (GH-17660)
(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
-rw-r--r--Doc/reference/datamodel.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/reference/datamodel.rst b/Doc/reference/datamodel.rst
index b4f9ddc119..c38dcdc4e5 100644
--- a/Doc/reference/datamodel.rst
+++ b/Doc/reference/datamodel.rst
@@ -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