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 <[email protected]>
<http://bugs.python.org/issue20496>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com