summaryrefslogtreecommitdiffstats
path: root/Python/clinic
diff options
context:
space:
mode:
authorShantanu <12621235+hauntsaninja@users.noreply.github.com>2023-01-08 07:57:41 (GMT)
committerGitHub <noreply@github.com>2023-01-08 07:57:41 (GMT)
commita2141882f259e21bb09fa0b7cba8142147b9e3d7 (patch)
treefd707dd28e9e4a848c8a77aa0d6b1d91e9374fe1 /Python/clinic
parentdf3851fe4ab8c9013aeb5dfd75d6e8edf2ece9a8 (diff)
downloadcpython-a2141882f259e21bb09fa0b7cba8142147b9e3d7.zip
cpython-a2141882f259e21bb09fa0b7cba8142147b9e3d7.tar.gz
cpython-a2141882f259e21bb09fa0b7cba8142147b9e3d7.tar.bz2
gh-100776: Fix misleading default value in help(input) (#100788)
Diffstat (limited to 'Python/clinic')
-rw-r--r--Python/clinic/bltinmodule.c.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Python/clinic/bltinmodule.c.h b/Python/clinic/bltinmodule.c.h
index baf9555..b77b4a1 100644
--- a/Python/clinic/bltinmodule.c.h
+++ b/Python/clinic/bltinmodule.c.h
@@ -1126,7 +1126,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"
@@ -1409,4 +1409,4 @@ builtin_issubclass(PyObject *module, PyObject *const *args, Py_ssize_t nargs)
exit:
return return_value;
}
-/*[clinic end generated code: output=0a6a8efe82cf8b81 input=a9049054013a1b77]*/
+/*[clinic end generated code: output=84a04e7446debf58 input=a9049054013a1b77]*/