]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Use print as a function for Python 3 [PEP 3105]
authorrodrigc <rodrigc@FreeBSD.org>
Thu, 19 Nov 2015 00:01:52 +0000 (00:01 +0000)
committerrodrigc <rodrigc@FreeBSD.org>
Thu, 19 Nov 2015 00:01:52 +0000 (00:01 +0000)
commitb75981aabc20f749744f5b8ca7e596ce3f276154
treeac0a298319445487c327ba5ef036a39c5cc7318f
parent6ae0b4f9be2b79ffde9848f96e414b5dcff599ad
Use print as a function for Python 3 [PEP 3105]

Import print_function from the __future__ module
to activate this for Python 2.  This works as far back as Python 2.6.0a2:
   https://docs.python.org/2/library/__future__.html

[PEP 3105] https://www.python.org/dev/peps/pep-3105/
tools/debugscripts/kld_deb.py
tools/regression/netinet/ip_id_period/ip_id_period.py
tools/sched/schedgraph.py
tools/tools/shlib-compat/shlib-compat.py
usr.bin/fortune/tools/do_uniq.py