diff options
-rw-r--r-- | Doc/whatsnew/whatsnew25.tex | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Doc/whatsnew/whatsnew25.tex b/Doc/whatsnew/whatsnew25.tex index 74cbf76..dac87b4 100644 --- a/Doc/whatsnew/whatsnew25.tex +++ b/Doc/whatsnew/whatsnew25.tex @@ -194,6 +194,7 @@ Traceback (most recent call last): File ``t.py'', line 15, in ? print it.next() StopIteration +\end{verbatim} Because \keyword{yield} will often be returning \constant{None}, you shouldn't just use its value in expressions unless you're sure |