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

Skip to content

Commit 12338ab

Browse files
committed
Removed 'or long integer' from bin, oct, and hex docstrings.
1 parent 540ab06 commit 12338ab

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
@@ -307,7 +307,7 @@ builtin_bin(PyObject *self, PyObject *v)
307307
PyDoc_STRVAR(bin_doc,
308308
"bin(number) -> string\n\
309309
\n\
310-
Return the binary representation of an integer or long integer.");
310+
Return the binary representation of an integer.");
311311

312312

313313
static PyObject *
@@ -1192,7 +1192,7 @@ builtin_hex(PyObject *self, PyObject *v)
11921192
PyDoc_STRVAR(hex_doc,
11931193
"hex(number) -> string\n\
11941194
\n\
1195-
Return the hexadecimal representation of an integer or long integer.");
1195+
Return the hexadecimal representation of an integer.");
11961196

11971197

11981198
static PyObject *
@@ -1380,7 +1380,7 @@ builtin_oct(PyObject *self, PyObject *v)
13801380
PyDoc_STRVAR(oct_doc,
13811381
"oct(number) -> string\n\
13821382
\n\
1383-
Return the octal representation of an integer or long integer.");
1383+
Return the octal representation of an integer.");
13841384

13851385

13861386
static PyObject *

0 commit comments

Comments
 (0)