Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 0df8092

Browse files
committed
Removed 'or long integer' from bin, oct, and hex docstrings.
2 parents efbcb18 + 12338ab commit 0df8092

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

Python/bltinmodule.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -303,7 +303,7 @@ builtin_bin(PyObject *self, PyObject *v)
303303
PyDoc_STRVAR(bin_doc,
304304
"bin(number) -> string\n\
305305
\n\
306-
Return the binary representation of an integer or long integer.");
306+
Return the binary representation of an integer.");
307307

308308

309309
static PyObject *
@@ -1186,7 +1186,7 @@ builtin_hex(PyObject *self, PyObject *v)
11861186
PyDoc_STRVAR(hex_doc,
11871187
"hex(number) -> string\n\
11881188
\n\
1189-
Return the hexadecimal representation of an integer or long integer.");
1189+
Return the hexadecimal representation of an integer.");
11901190

11911191

11921192
static PyObject *
@@ -1374,7 +1374,7 @@ builtin_oct(PyObject *self, PyObject *v)
13741374
PyDoc_STRVAR(oct_doc,
13751375
"oct(number) -> string\n\
13761376
\n\
1377-
Return the octal representation of an integer or long integer.");
1377+
Return the octal representation of an integer.");
13781378

13791379

13801380
static PyObject *

0 commit comments

Comments
 (0)