diff options
author | Tim Peters <tim.peters@gmail.com> | 2001-06-25 19:46:25 (GMT) |
---|---|---|
committer | Tim Peters <tim.peters@gmail.com> | 2001-06-25 19:46:25 (GMT) |
commit | 3e7b1a04a0fe02098ffc03b5c0fc6546a5f7d2d1 (patch) | |
tree | 1b79b6897c94e6914beb1f86e59c40a2ec9a056d /Doc | |
parent | ae1f65ff825f72f3972e503036966e206f5b39fa (diff) | |
download | cpython-3e7b1a04a0fe02098ffc03b5c0fc6546a5f7d2d1.zip cpython-3e7b1a04a0fe02098ffc03b5c0fc6546a5f7d2d1.tar.gz cpython-3e7b1a04a0fe02098ffc03b5c0fc6546a5f7d2d1.tar.bz2 |
Teach the types module about generators. Thanks to James Althoff on the
Iterators list for bringing it up!
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/lib/libtypes.tex | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Doc/lib/libtypes.tex b/Doc/lib/libtypes.tex index 8ade4a6..35495eb 100644 --- a/Doc/lib/libtypes.tex +++ b/Doc/lib/libtypes.tex @@ -83,6 +83,12 @@ The type of user-defined functions and lambdas. An alternate name for \code{FunctionType}. \end{datadesc} +\begin{datadesc}{GeneratorType} +The type of generator-iterator objects, produced by calling a +generator function. +\versionadded{2.2} +\end{datadesc} + \begin{datadesc}{CodeType} The type for code objects such as returned by \function{compile()}\bifuncindex{compile}. |