mirror of
https://github.com/python/cpython.git
synced 2025-11-13 23:46:24 +00:00
Add explicit text for where an obindex call for generators was since obindex does not cause output of its argument.
This commit is contained in:
parent
4a671fe634
commit
9e6fedd2ec
1 changed files with 2 additions and 1 deletions
|
|
@ -804,7 +804,8 @@ The following flag bits are defined for \member{co_flags}: bit
|
||||||
to accept an arbitrary number of positional arguments; bit
|
to accept an arbitrary number of positional arguments; bit
|
||||||
\code{0x08} is set if the function uses the \samp{**keywords} syntax
|
\code{0x08} is set if the function uses the \samp{**keywords} syntax
|
||||||
to accept arbitrary keyword arguments; bit \code{0x20} is set if the
|
to accept arbitrary keyword arguments; bit \code{0x20} is set if the
|
||||||
function is a \obindex{generator}.
|
function is a generator.
|
||||||
|
\obindex{generator}
|
||||||
|
|
||||||
Future feature declarations (\samp{from __future__ import division})
|
Future feature declarations (\samp{from __future__ import division})
|
||||||
also use bits in \member{co_flags} to indicate whether a code object
|
also use bits in \member{co_flags} to indicate whether a code object
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue