[issue6879] misstatement in example explanation using raise

2009-09-16 Thread Ezio Melotti
Ezio Melotti added the comment: Fixed in r74825 (trunk) and r74827 (release26-maint), thanks! -- resolution: -> fixed stage: -> committed/rejected status: open -> closed ___ Python tracker ___

[issue6879] misstatement in example explanation using raise

2009-09-16 Thread Georg Brandl
Georg Brandl added the comment: Yes, that seems a good idea. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue6879] misstatement in example explanation using raise

2009-09-15 Thread Ezio Melotti
Ezio Melotti added the comment: The original was: >>> raise NameError, 'HiThere' Since now this form is deprecated, I would remove that paragraph altogether. Instead, that paragraph should be replaced with: "The sole argument to raise indicates the exception to be raised. This must be either an

[issue6879] misstatement in example explanation using raise

2009-09-10 Thread Gene Ratzlaff
New submission from Gene Ratzlaff : v2.6.2 Python Tutorial http://docs.python.org/tutorial/errors.html#raising-exceptions Section 8. Errors and Exceptions 8.4. Raising Exceptions It appears that in the example, the original may have been: raise(NameError('HiThere')) and was then changed to raise