string.py
Fred L. Drake, Jr.
fdrake at acm.org
Thu Feb 17 11:18:26 EST 2000
Aahz Maruch writes:
> I'm assuming, of course, that the revised 1.5.2 documents are correct
> and that int() still does not take a radix.
Aahz,
int() in 1.5.2 does not, but 1.6 will:
Python 1.5.2+ (#276, Feb 1 2000, 15:08:05) [GCC 2.8.1] on sunos5
Copyright 1991-1995 Stichting Mathematisch Centrum, Amsterdam
>>> int('123', 8)
83
I'll make sure the 1.6 documentation reflects this (this is on a
different branch from the 1.5.2 documentation; the head of the tree is
for 1.6).
-Fred
--
Fred L. Drake, Jr. <fdrake at acm.org>
Corporation for National Research Initiatives
More information about the Python-list
mailing list