[Python-ideas] float('∞')=float('inf')

Gerald Britton gerald.britton at gmail.com
Fri Jul 12 17:16:21 CEST 2013


"Considering that Python can't represent π in a float anyway, I

wouldn't be too bothered. "

>>> import math
>>> type(math.pi)
<class 'float'>



--
Gerald Britton


More information about the Python-ideas mailing list