classification
Title: Documentation under 'pass' statement talks about exception very early.
Type: behavior Stage:
Components: Documentation Versions: Python 3.0, Python 3.1, Python 2.7, Python 2.6
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: georg.brandl Nosy List: benjamin.peterson, georg.brandl, orsenthil
Priority: normal Keywords:

Created on 2008-12-23 05:49 by orsenthil, last changed 2008-12-24 16:10 by benjamin.peterson. This issue is now closed.

Messages (2)
msg78225 - (view) Author: Senthil Kumaran (orsenthil) * (Python committer) Date: 2008-12-23 05:49
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?
msg78263 - (view) Author: Benjamin Peterson (benjamin.peterson) * (Python committer) Date: 2008-12-24 16:10
I agree. Changed in r67924.
History
Date User Action Args
2008-12-24 16:10:22benjamin.petersonsetstatus: open -> closed
nosy: + benjamin.peterson
resolution: fixed
messages: + msg78263
2008-12-23 05:49:47orsenthilcreate