Issue 4729: Documentation under 'pass' statement talks about exception very early. (original) (raw)

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?