mirror of
https://github.com/python/cpython.git
synced 2024-11-24 18:34:43 +08:00
Removed 'or long integer' from bin, oct, and hex docstrings.
This commit is contained in:
commit
0df80926c9
@ -303,7 +303,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 *
|
||||
@ -1186,7 +1186,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 *
|
||||
@ -1374,7 +1374,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
Block a user