bpo-29749: Update int() docstring (GH-565)

The docstring did not properly represent the fact that the argument to int() was positional-only.
This commit is contained in:
svelankar 2017-03-08 19:29:01 -05:00 committed by Brett Cannon
parent 370fd202f1
commit 390a0969c1
1 changed files with 1 additions and 1 deletions

View File

@ -5334,7 +5334,7 @@ static PyGetSetDef long_getset[] = {
}; };
PyDoc_STRVAR(long_doc, PyDoc_STRVAR(long_doc,
"int(x=0) -> integer\n\ "int([x]) -> integer\n\
int(x, base=10) -> integer\n\ int(x, base=10) -> integer\n\
\n\ \n\
Convert a number or string to an integer, or return 0 if no arguments\n\ Convert a number or string to an integer, or return 0 if no arguments\n\