Changeset 2750

Show
Ignore:
Timestamp:
01/31/18 15:41:51 (10 months ago)
Author:
jwoithe
Message:

Add comment explaining the "future" print_function imports.

While Python 2.7 natively supports the print() function syntax of Python3,
it is convenient to also make use of the "print(..., end=)" feature. This
is not available under Python2 by default, but can be accessed in Python2
by way of the "from future import print_function" statement. Include
a brief comment to this effect in the relevant source files to make the
purpose of the "future" import clear in future when the need for such
lines might be deemed unnecessary.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved