[SciPy-dev] change print statements to print functions in docstrings

Stéfan van der Walt stefan@sun.ac...
Sat Aug 15 18:03:40 CDT 2009

2009/8/15 Robert Kern <robert.kern@gmail.com>:
> print is simply not a function in 2.x. Abusing the Python 2.x syntax
> to pretend like it is a function is terribly inconsistent when showing
> Python 2.x code. It is bad style to use print() in Python 2.x. The
> semantics are *not* the same when executing Python 3.x print() code in
> Python 2.x. numpy does not support Python 3.x, yet.
> +1 on reverting the changes.

I don't feel strong enough about this to argue, so go ahead.


More information about the Scipy-dev mailing list