[SciPy-dev] change print statements to print functions in docstrings
Stéfan van der Walt
Sat Aug 15 17:47:21 CDT 2009
2009/8/15 Emmanuelle Gouillart <firstname.lastname@example.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.
More information about the Scipy-dev