diff options
author | Johannes Gijsbers <jlg@dds.nl> | 2004-12-12 16:52:40 (GMT) |
---|---|---|
committer | Johannes Gijsbers <jlg@dds.nl> | 2004-12-12 16:52:40 (GMT) |
commit | f4a70f35b0fe0d99639868c90430b99505669b43 (patch) | |
tree | 86683c766b1e0b85311686f73788909757e4c91a /Doc/ref/ref6.tex | |
parent | 1542f34c42de544cf11e400906149c6252b42ae7 (diff) | |
download | cpython-f4a70f35b0fe0d99639868c90430b99505669b43.zip cpython-f4a70f35b0fe0d99639868c90430b99505669b43.tar.gz cpython-f4a70f35b0fe0d99639868c90430b99505669b43.tar.bz2 |
Patch #1080684: typo repair. Thanks George Yoshida!
- Doc/lib/libbase64.tex
s/algorith/algorithm
- Doc/lib/libpickle.tex
s/interchangable/interchangeable
- Doc/lib/libxmlrpclib.tex
s/{_cmp__}/{__cmp__}
leading underscore needs to be double, not single.
- Doc/ref/ref6.tex
0/1 => False/True
Diffstat (limited to 'Doc/ref/ref6.tex')
-rw-r--r-- | Doc/ref/ref6.tex | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/Doc/ref/ref6.tex b/Doc/ref/ref6.tex index 153ddf7..8a2a665 100644 --- a/Doc/ref/ref6.tex +++ b/Doc/ref/ref6.tex @@ -84,11 +84,12 @@ if __debug__: These equivalences assume that \code{__debug__}\ttindex{__debug__} and \exception{AssertionError}\exindex{AssertionError} refer to the built-in variables with those names. In the current implementation, the -built-in variable \code{__debug__} is 1 under normal circumstances, 0 -when optimization is requested (command line option -O). The current -code generator emits no code for an assert statement when optimization -is requested at compile time. Note that it is unnecessary to include -the source code for the expression that failed in the error message; +built-in variable \code{__debug__} is \code{True} under normal +circumstances, \code{False} when optimization is requested (command line +option -O). The current code generator emits no code for an assert +statement when optimization is requested at compile time. Note that it +is unnecessary to include the source code for the expression that failed +in the error message; it will be displayed as part of the stack trace. Assignments to \code{__debug__} are illegal. The value for the |