Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit b233e54

Browse files
committed
Nits.
1 parent edd0773 commit b233e54

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Doc/tut/tut.tex

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3330,7 +3330,7 @@ \section{Handling Exceptions \label{handling}}
33303330
... raise Exception('spam', 'eggs')
33313331
... except Exception, inst:
33323332
... print type(inst) # the exception instance
3333-
... print inst.args # arguments stored in .args
3333+
... print inst.args # arguments stored in .args
33343334
... print inst # __str__ allows args to printed directly
33353335
... x, y = inst # __getitem__ allows args to be unpacked directly
33363336
... print 'x =', x
@@ -4299,7 +4299,7 @@ \section{Generators\label{generators}}
42994299
compact is that the \method{__iter__()} and \method{next()} methods are
43004300
created automatically.
43014301
4302-
Another other key feature is that the local variables and execution state
4302+
Another key feature is that the local variables and execution state
43034303
are automatically saved between calls. This made the function easier to write
43044304
and much more clear than an approach using class variables like
43054305
\code{self.index} and \code{self.data}.

0 commit comments

Comments
 (0)