diff options
author | Raymond Hettinger <python@rcn.com> | 2008-06-24 22:46:07 +0000 |
---|---|---|
committer | Raymond Hettinger <python@rcn.com> | 2008-06-24 22:46:07 +0000 |
commit | b9ec3f68d0ff529fc737b305c1b1556766fbdcee (patch) | |
tree | c4e88acdcb0b5f82a060fcee92e7fc14ec0c2cfc /Objects/intobject.c | |
parent | 7169e50cbe1b6db3e0dd967929e3036dafbece1f (diff) | |
download | cpython-b9ec3f68d0ff529fc737b305c1b1556766fbdcee.tar.gz |
Revert 64424, 64438, and 64439.
Diffstat (limited to 'Objects/intobject.c')
-rw-r--r-- | Objects/intobject.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/Objects/intobject.c b/Objects/intobject.c index 5210ee8db7..f98aee0e2e 100644 --- a/Objects/intobject.c +++ b/Objects/intobject.c @@ -934,12 +934,6 @@ int_float(PyIntObject *v) } static PyObject * -int_bin(PyObject *v) -{ - return PyNumber_ToBase(v, 2); -} - -static PyObject * int_oct(PyIntObject *v) { return _PyInt_Format(v, 8, 0); @@ -1237,7 +1231,6 @@ static PyNumberMethods int_as_number = { 0, /* nb_inplace_floor_divide */ 0, /* nb_inplace_true_divide */ (unaryfunc)int_int, /* nb_index */ - (unaryfunc)int_bin, /* nb_bin */ }; PyTypeObject PyInt_Type = { |