[Python-checkins] CVS: python/dist/src/Doc/tut tut.tex,1.151,1.152
Fred L. Drake
fdrake@users.sourceforge.net
Tue, 27 Nov 2001 23:26:17 -0800
- Previous message: [Python-checkins] CVS: python/dist/src/Doc/ref ref1.tex,1.13,1.14 ref2.tex,1.31,1.32 ref3.tex,1.76,1.77
- Next message: [Python-checkins] CVS: python/dist/src/Doc/lib libamoeba.tex,1.15,1.16 libbase64.tex,1.19,1.20 libbinascii.tex,1.22,1.23 libbinhex.tex,1.8,1.9 libcalendar.tex,1.12,1.13 libcgi.tex,1.33,1.34 libcurses.tex,1.36,1.37 libdl.tex,1.4,1.5 libexcs.tex,1.42,1.43 libfcntl.tex,1.26,1.27 libfnmatch.tex,1.19,1.20 libgetpass.tex,1.3,1.4 libmailbox.tex,1.23,1.24 libmmap.tex,1.6,1.7 libos.tex,1.70,1.71 libposix.tex,1.60,1.61 libposixfile.tex,1.25,1.26 libposixpath.tex,1.21,1.22 libselect.tex,1.19,1.20 libsite.tex,1.21,1.22 libstat.tex,1.21,1.22 libstdtypes.tex,1.75,1.76 libsys.tex,1.55,1.56 libtelnetlib.tex,1.8,1.9 libtempfile.tex,1.16,1.17 libtermios.tex,1.21,1.22 libthread.tex,1.23,1.24 libtime.tex,1.47,1.48 libtty.tex,1.2,1.3 tkinter.tex,1.3,1.4
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/python/python/dist/src/Doc/tut
In directory usw-pr-cvs1:/tmp/cvs-serv17014/tut
Modified Files:
tut.tex
Log Message:
Clean up some markup cruft. A number of the macros that take no
parameters (like \UNIX) are commonly entered using an empty group to
separate the markup from a following inter-word space; this is not
needed when the next character is punctuation, or the markup is the
last thing in the enclosing group. These cases were marked
inconsistently; the empty group is now *only* used when needed.
Index: tut.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/tut/tut.tex,v
retrieving revision 1.151
retrieving revision 1.152
diff -C2 -d -r1.151 -r1.152
*** tut.tex 2001/10/16 03:25:00 1.151
--- tut.tex 2001/11/28 07:26:15 1.152
***************
*** 53,57 ****
\citetitle[../ref/ref.html]{Python Reference Manual} gives a more
formal definition of the language. To write extensions in C or
! \Cpp{}, read \citetitle[../ext/ext.html]{Extending and Embedding the
Python Interpreter} and \citetitle[../api/api.html]{Python/C API
Reference}. There are also several books covering Python in depth.
--- 53,57 ----
\citetitle[../ref/ref.html]{Python Reference Manual} gives a more
formal definition of the language. To write extensions in C or
! \Cpp, read \citetitle[../ext/ext.html]{Extending and Embedding the
Python Interpreter} and \citetitle[../api/api.html]{Python/C API
Reference}. There are also several books covering Python in depth.
***************
*** 183,187 ****
The interpreter's line-editing features usually aren't very
! sophisticated. On \UNIX{}, whoever installed the interpreter may have
enabled support for the GNU readline library, which adds more
elaborate interactive editing and history features. Perhaps the
--- 183,187 ----
The interpreter's line-editing features usually aren't very
! sophisticated. On \UNIX, whoever installed the interpreter may have
enabled support for the GNU readline library, which adds more
elaborate interactive editing and history features. Perhaps the
***************
*** 2231,2235 ****
directory names. When \envvar{PYTHONPATH} is not set, or when the file
is not found there, the search continues in an installation-dependent
! default path; on \UNIX{}, this is usually \file{.:/usr/local/lib/python}.
Actually, modules are searched in the list of directories given by the
--- 2231,2235 ----
directory names. When \envvar{PYTHONPATH} is not set, or when the file
is not found there, the search continues in an installation-dependent
! default path; on \UNIX, this is usually \file{.:/usr/local/lib/python}.
Actually, modules are searched in the list of directories given by the
***************
*** 2600,2604 ****
%(One could design a notation to refer to parent packages, similar to
! %the use of ".." to refer to the parent directory in Unix and Windows
%filesystems. In fact, the \module{ni} module, which was the
%ancestor of this package system, supported this using \code{__} for
--- 2600,2604 ----
%(One could design a notation to refer to parent packages, similar to
! %the use of ".." to refer to the parent directory in \UNIX{} and Windows
%filesystems. In fact, the \module{ni} module, which was the
%ancestor of this package system, supported this using \code{__} for
***************
*** 3336,3340 ****
make occasional use of Smalltalk and \Cpp{} terms. (I would use Modula-3
terms, since its object-oriented semantics are closer to those of
! Python than \Cpp{}, but I expect that few readers have heard of it.)
I also have to warn you that there's a terminological pitfall for
--- 3336,3340 ----
make occasional use of Smalltalk and \Cpp{} terms. (I would use Modula-3
terms, since its object-oriented semantics are closer to those of
! Python than \Cpp, but I expect that few readers have heard of it.)
I also have to warn you that there's a terminological pitfall for
***************
*** 3593,3597 ****
The first I'll call \emph{data attributes}. These correspond to
``instance variables'' in Smalltalk, and to ``data members'' in
! \Cpp{}. Data attributes need not be declared; like local variables,
they spring into existence when they are first assigned to. For
example, if \code{x} is the instance of \class{MyClass} created above,
--- 3593,3597 ----
The first I'll call \emph{data attributes}. These correspond to
``instance variables'' in Smalltalk, and to ``data members'' in
! \Cpp. Data attributes need not be declared; like local variables,
they spring into existence when they are first assigned to. For
example, if \code{x} is the instance of \class{MyClass} created above,
- Previous message: [Python-checkins] CVS: python/dist/src/Doc/ref ref1.tex,1.13,1.14 ref2.tex,1.31,1.32 ref3.tex,1.76,1.77
- Next message: [Python-checkins] CVS: python/dist/src/Doc/lib libamoeba.tex,1.15,1.16 libbase64.tex,1.19,1.20 libbinascii.tex,1.22,1.23 libbinhex.tex,1.8,1.9 libcalendar.tex,1.12,1.13 libcgi.tex,1.33,1.34 libcurses.tex,1.36,1.37 libdl.tex,1.4,1.5 libexcs.tex,1.42,1.43 libfcntl.tex,1.26,1.27 libfnmatch.tex,1.19,1.20 libgetpass.tex,1.3,1.4 libmailbox.tex,1.23,1.24 libmmap.tex,1.6,1.7 libos.tex,1.70,1.71 libposix.tex,1.60,1.61 libposixfile.tex,1.25,1.26 libposixpath.tex,1.21,1.22 libselect.tex,1.19,1.20 libsite.tex,1.21,1.22 libstat.tex,1.21,1.22 libstdtypes.tex,1.75,1.76 libsys.tex,1.55,1.56 libtelnetlib.tex,1.8,1.9 libtempfile.tex,1.16,1.17 libtermios.tex,1.21,1.22 libthread.tex,1.23,1.24 libtime.tex,1.47,1.48 libtty.tex,1.2,1.3 tkinter.tex,1.3,1.4
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]