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

Alan G Isaac aisaac@american....
Mon Aug 17 07:36:07 CDT 2009

On 8/17/2009 2:46 AM Gael Varoquaux apparently wrote:
> OK, I am confused by the fact that __builtins__ as a print function that
> matches the Python 3.x print function. You can see this doing 
> '$ pydoc __builtin__.print' and I believe this is what is confusing
> IPython too. What you are saying is that that function does not kick in
> if we don't do the __future__ import, right?


Alan Isaac

More information about the Scipy-dev mailing list