mirror of https://github.com/python/cpython
Removed 'or long integer' from bin, oct, and hex docstrings.
This commit is contained in:
parent
540ab064e2
commit
12338ab10b
|
@ -307,7 +307,7 @@ builtin_bin(PyObject *self, PyObject *v)
|
|||
PyDoc_STRVAR(bin_doc,
|
||||
"bin(number) -> string\n\
|
||||
\n\
|
||||
Return the binary representation of an integer or long integer.");
|
||||
Return the binary representation of an integer.");
|
||||
|
||||
|
||||
static PyObject *
|
||||
|
@ -1192,7 +1192,7 @@ builtin_hex(PyObject *self, PyObject *v)
|
|||
PyDoc_STRVAR(hex_doc,
|
||||
"hex(number) -> string\n\
|
||||
\n\
|
||||
Return the hexadecimal representation of an integer or long integer.");
|
||||
Return the hexadecimal representation of an integer.");
|
||||
|
||||
|
||||
static PyObject *
|
||||
|
@ -1380,7 +1380,7 @@ builtin_oct(PyObject *self, PyObject *v)
|
|||
PyDoc_STRVAR(oct_doc,
|
||||
"oct(number) -> string\n\
|
||||
\n\
|
||||
Return the octal representation of an integer or long integer.");
|
||||
Return the octal representation of an integer.");
|
||||
|
||||
|
||||
static PyObject *
|
||||
|
|
Loading…
Reference in New Issue