[Python-checkins] python/dist/src/Doc/tut tut.tex,1.191,1.192
rhettinger@users.sourceforge.net
rhettinger@users.sourceforge.net
Mon, 30 Jun 2003 23:19:36 -0700
Update of /cvsroot/python/python/dist/src/Doc/tut
In directory sc8-pr-cvs1:/tmp/cvs-serv19998
Modified Files:
tut.tex
Log Message:
SF #751062: Tutorial: remove string exceptions, add parnassus, #posts
(Contributed by Gerritt Holl)
* Remove the last mentions of string exceptions
* Reference a third-party repository of programs
* Minor clarification of comp.lang.py posting volumes
Index: tut.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/tut/tut.tex,v
retrieving revision 1.191
retrieving revision 1.192
diff -C2 -d -r1.191 -r1.192
*** tut.tex 30 Jun 2003 04:27:31 -0000 1.191
--- tut.tex 1 Jul 2003 06:19:34 -0000 1.192
***************
*** 4118,4126 ****
function object corresponding to the method.
! \subsection{Exceptions Can Be Classes \label{exceptionClasses}}
! User-defined exceptions are no longer limited to being string objects
! --- they can be identified by classes as well. Using this mechanism it
! is possible to create extensible hierarchies of exceptions.
There are two new valid (semantic) forms for the raise statement:
--- 4118,4125 ----
function object corresponding to the method.
! \subsection{Exceptions Are Classes Too\label{exceptionClasses}}
! User-defined exceptions are identified by classes as well. Using this
! mechanism it is possible to create extensible hierarchies of exceptions.
There are two new valid (semantic) forms for the raise statement:
***************
*** 4140,4145 ****
\end{verbatim}
! An except clause may list classes as well as string objects. A class
! in an except clause is compatible with an exception if it is the same
class or a base class thereof (but not the other way around --- an
except clause listing a derived class is not compatible with a base
--- 4139,4143 ----
\end{verbatim}
! A class in an except clause is compatible with an exception if it is the same
class or a base class thereof (but not the other way around --- an
except clause listing a derived class is not compatible with a base
***************
*** 4200,4204 ****
informal site is \url{http://starship.python.net/}, which contains a
bunch of Python-related personal home pages; many people have
! downloadable software there.
For Python-related questions and problem reports, you can post to the
--- 4198,4204 ----
informal site is \url{http://starship.python.net/}, which contains a
bunch of Python-related personal home pages; many people have
! downloadable software there. Many more user-created Python modules
! can be found in a third-party repository at
! \url{http://www.vex.net/parnassus}.
For Python-related questions and problem reports, you can post to the
***************
*** 4206,4210 ****
list at \email{python-list@python.org}. The newsgroup and mailing list
are gatewayed, so messages posted to one will automatically be
! forwarded to the other. There are around 120 postings a day,
% Postings figure based on average of last six months activity as
% reported by www.egroups.com; Jan. 2000 - June 2000: 21272 msgs / 182
--- 4206,4211 ----
list at \email{python-list@python.org}. The newsgroup and mailing list
are gatewayed, so messages posted to one will automatically be
! forwarded to the other. There are around 120 postings a day (with peaks
! up to several hundred),
% Postings figure based on average of last six months activity as
% reported by www.egroups.com; Jan. 2000 - June 2000: 21272 msgs / 182