[docs] [issue20496] function definition tutorial encourages bad practice

Terry J. Reedy report at bugs.python.org
Sat Feb 8 16:00:17 CET 2014


Terry J. Reedy added the comment:

There is a later example introduced by "It is simple to write a function that returns a list of the numbers of the Fibonacci series, instead of printing it:" that does exactly what you suggest.

----------
nosy: +terry.reedy

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue20496>
_______________________________________


More information about the docs mailing list