[docs] [issue20496] function definition tutorial encourages bad practice
Berker Peksag
report at bugs.python.org
Tue May 31 23:17:27 EDT 2016
Berker Peksag added the comment:
I agree with Terry. The print example is also useful to show the implicit return value of fib(). Quoting from the same section:
[...] In fact, even functions without a return statement do return a value, albeit a rather boring one. This value is called None [...]
----------
nosy: +berker.peksag
resolution: -> not a bug
stage: -> resolved
status: open -> closed
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue20496>
_______________________________________
More information about the docs
mailing list