Commit 9e6fedd2 authored by Brett Cannon's avatar Brett Cannon

Add explicit text for where an obindex call for generators was since obindex...

Add explicit text for where an obindex call for generators was since obindex does not cause output of its argument.
parent 4a671fe6
...@@ -804,7 +804,8 @@ The following flag bits are defined for \member{co_flags}: bit ...@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment