Indent a literal block some more so that it is picked up as a literal block and not just as a paragraph in a numbered list.

This commit is contained in:
Brett Cannon 2011-02-27 05:57:51 +00:00
parent 7b2f862823
commit 6db3207923
1 changed files with 7 additions and 7 deletions

View File

@ -182,14 +182,14 @@ except that, as currently, the exception cannot be caught by
3. The StopIteration exception behaves as though defined thusly::
class StopIteration(Exception):
class StopIteration(Exception):
def __init__(self, *args):
if len(args) > 0:
self.value = args[0]
else:
self.value = None
Exception.__init__(self, *args)
def __init__(self, *args):
if len(args) > 0:
self.value = args[0]
else:
self.value = None
Exception.__init__(self, *args)
Rationale