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

Stéfan van der Walt stefan at sun.ac.za
Sat Aug 15 18:47:21 EDT 2009


2009/8/15 Emmanuelle Gouillart <emmanuelle.gouillart at normalesup.org>:
>> At this point in this thread, I've reached the "strong opinion" that I'm +1 w/ Charles: speaking as someone who's gung-ho to make the docstrings as pedagogically useful as possible, I feel code-docstring consistency trumps this - IMO, the docstrings should not be be changed prior to the code itself being changed.
>
> OK, you can revert the changes very easily as I paid attention to save
> versions including only the modifications of print statements.

Don't revert those changes.  Using "print" as a function is more
consistent in style (one of the reasons it's been changed in 3.0).
Doing it now saves us a lot of trouble later on.

Regards
Stéfan



More information about the SciPy-Dev mailing list