[3.11] gh-100776: Fix misleading default value in help(input) (GH-100788) (#100841)

(cherry picked from commit a2141882f2)

Co-authored-by: Shantanu <12621235+hauntsaninja@users.noreply.github.com>
This commit is contained in:
Shantanu 2023-01-08 01:23:12 -08:00 committed by GitHub
parent 87076d880c
commit be7c19723f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 5 additions and 4 deletions

View file

@ -843,7 +843,7 @@ exit:
}
PyDoc_STRVAR(builtin_input__doc__,
"input($module, prompt=None, /)\n"
"input($module, prompt=\'\', /)\n"
"--\n"
"\n"
"Read a string from standard input. The trailing newline is stripped.\n"
@ -1045,4 +1045,4 @@ builtin_issubclass(PyObject *module, PyObject *const *args, Py_ssize_t nargs)
exit:
return return_value;
}
/*[clinic end generated code: output=cc844ea007c1241f input=a9049054013a1b77]*/
/*[clinic end generated code: output=c45d5fe414f7a8d7 input=a9049054013a1b77]*/