https://github.com/python/cpython/commit/917419f58b2869d71691c5ba54a9e02e5dcf73b2 commit: 917419f58b2869d71691c5ba54a9e02e5dcf73b2 branch: 3.7 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月19日T06:41:49-08:00 summary: [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 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 b4f9ddc1194cb..c38dcdc4e512d 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