print() has been a function since Python 2.6; the old behaviour was
dropped in Python 3.0.
To use the named file argument in Python 2, we need to import
print_function from the future module.
Differential D3229 Authored by sicherha on Jan 8 2022, 10:37 AM.
Project Tags None Referenced Files
Subscribers None
Details Summary print() has been a function since Python 2.6; the old behaviour was To use the named file argument in Python 2, we need to import
Diff Detail
Event Timelinesicherha created this revision. Harbormaster completed remote builds in B37777: Diff 9196.Jan 8 2022, 10:37 AM2022-01-08 10:37:54 (UTC+0) This revision is now accepted and ready to land.Jan 10 2022, 8:53 AM2022-01-10 08:53:38 (UTC+0) This revision was landed with ongoing or failed builds.Jan 10 2022, 7:42 PM2022-01-10 19:42:21 (UTC+0) Closed by commit rPd0579b7e5da3: [Python 3] Use print() as function instead of statement. · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 9244 |