print_function is FeatureName not to be confused with the most built-in print function. This is a feature available from the future, so you can use the built-in function that it can provide.
Other features include:
all_feature_names = [ "nested_scopes", "generators", "division", "absolute_import", "with_statement", "print_function", "unicode_literals", ]
There are certain reasons why when you transfer code to the next higher version, your program will remain the same as using the updated function instead of the __future__ version. Also, if it is a function name or a keyword in itself, it can cause confusion with the parser.
Senthil Kumaran Dec 30 '10 at 7:50 2010-12-30 07:50
source share