[New-bugs-announce] [issue4729] Documentation under 'pass' statement talks about exception very early.

Senthil report at bugs.python.org
Tue Dec 23 06:49:48 CET 2008


New submission from Senthil <orsenthil at gmail.com>:

This is a new change in the documentation.

Tutorial -> More Control Flow Tools -> pass Statements

There is a new section which says:

"However, as pass is silently ignored, a better choice may be to raise a
NotImplementedError exception:"""

While what the section says is correct, but its placement in the
documentation is inappropriate. The tutorial has not yet introduced the
reader to function and Exceptions, and this portion has squeezed its way
in between.

I feel, this needs to be rearranged. Georg, what is your thought?

----------
assignee: georg.brandl
components: Documentation
messages: 78225
nosy: georg.brandl, orsenthil
severity: normal
status: open
title: Documentation under 'pass' statement talks about exception very early.
type: behavior
versions: Python 2.6, Python 2.7, Python 3.0, Python 3.1

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue4729>
_______________________________________


More information about the New-bugs-announce mailing list