PEP suggestion: Uniform way to indicate Python language version
Ben Finney
ben+python at benfinney.id.au
Sun Aug 21 23:29:48 EDT 2016
rocky <rocky at gnu.org> writes:
> The assertion should have been
>
> assert sys.version >= (3, 0)
Perhaps you haven't tried any of these examples before presenting them?
>>> import sys
>>> assert sys.version >= (3, 0)
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
TypeError: unorderable types: str() >= tuple()
Please make some working code before recommending it :-)
--
\ “I was the kid next door's imaginary friend.” —Emo Philips |
`\ |
_o__) |
Ben Finney
More information about the Python-list
mailing list