pyrax icon indicating copy to clipboard operation
pyrax copied to clipboard

[python3] Print syntax has changed

Open scolson opened this issue 11 years ago • 0 comments

Another low hanging fruit item, print is now a function and not a statement. Per the porting guide, print() has been backported all the way to 2.6, we just need to pull it in:

from __future__ import print_function

Doing this disables print as a statement and enables print as a function.

scolson avatar Dec 01 '13 17:12 scolson