Skip to content

Commit fc7fba0

Browse files
author
Kenneth Reitz
committed
Merge pull request #217 from alex/patch-8
Remove a paragraph that wasn't adding value
2 parents 53aa185 + e66b3f1 commit fc7fba0

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

docs/writing/style.rst

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -211,10 +211,6 @@ while privatising a public property might be a much harder operation.
211211
Returning values
212212
~~~~~~~~~~~~~~~~
213213

214-
Python functions return a value, and you can control this return value with the
215-
return statement for all of them but the object constructor `__init__()` and the
216-
special case of generators.
217-
218214
When a function grows in complexity is not uncommon to use multiple return statements
219215
inside the function's body. However, in order to keep a clear intent and a sustainable
220216
readability level, it is preferable to avoid returning meaningful values from many

0 commit comments

Comments
 (0)