[Python-checkins] python/dist/src/Doc/ref ref6.tex,1.73,1.73.2.1
jlgijsbers at users.sourceforge.net
jlgijsbers at users.sourceforge.net
Sun Dec 12 17:51:51 CET 2004
Update of /cvsroot/python/python/dist/src/Doc/ref
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv20807/ref
Modified Files:
Tag: release24-maint
ref6.tex
Log Message:
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
Index: ref6.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/ref/ref6.tex,v
retrieving revision 1.73
retrieving revision 1.73.2.1
diff -u -d -r1.73 -r1.73.2.1
--- ref6.tex 11 Nov 2004 06:14:05 -0000 1.73
+++ ref6.tex 12 Dec 2004 16:51:48 -0000 1.73.2.1
@@ -84,11 +84,12 @@
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
More information about the Python-checkins
mailing list