Remove a paragraph that wasn't adding value

In addition to be totally wrong about __init__, the description of generators was confusing (and more or less wrong).
This commit is contained in:
Alex Gaynor
2012-11-20 01:51:02 -06:00
parent 53aa1851c4
commit e66b3f1a38
-4
View File
@@ -211,10 +211,6 @@ while privatising a public property might be a much harder operation.
Returning values
~~~~~~~~~~~~~~~~
Python functions return a value, and you can control this return value with the
return statement for all of them but the object constructor `__init__()` and the
special case of generators.
When a function grows in complexity is not uncommon to use multiple return statements
inside the function's body. However, in order to keep a clear intent and a sustainable
readability level, it is preferable to avoid returning meaningful values from many