summaryrefslogtreecommitdiff
path: root/Python/graminit.c
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1997-03-31 17:15:43 +0000
committerGuido van Rossum <guido@python.org>1997-03-31 17:15:43 +0000
commitc6472e9ee161c3bbc003dbf8ce3f74ec8f700eb9 (patch)
tree66ec944c1e768be04dee20b62c292053a3e6843c /Python/graminit.c
parentdddf7a6fb4f2486a5fbb06acafb3223424e95145 (diff)
downloadcpython-git-c6472e9ee161c3bbc003dbf8ce3f74ec8f700eb9.tar.gz
1. Add string conversions to int(), long(), float(). (Not to complex()!)
2. Fix two bugs in complex(): - Memory leak when using complex(classinstance) -- r was never DECREF'ed. - Conversion of the second argument, if not complex, was done using the type vector of the 1st.
Diffstat (limited to 'Python/graminit.c')
0 files changed, 0 insertions, 0 deletions