| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -0,0 +1 @@ | |||
| 1 | + Fix misleading default value in :func:`input`'s ``__text_signature__``. | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -2065,7 +2065,7 @@ builtin_print_impl(PyObject *module, PyObject *args, PyObject *sep, | |||
| 2065 | 2065 | /*[clinic input] | |
| 2066 | 2066 | input as builtin_input | |
| 2067 | 2067 | ||
| 2068 | - prompt: object(c_default="NULL") = None | ||
| 2068 | + prompt: object(c_default="NULL") = "" | ||
| 2069 | 2069 | / | |
| 2070 | 2070 | ||
| 2071 | 2071 | Read a string from standard input. The trailing newline is stripped. | |
@@ -2079,7 +2079,7 @@ On *nix systems, readline is used if available. | |||
| 2079 | 2079 | ||
| 2080 | 2080 | static PyObject * | |
| 2081 | 2081 | builtin_input_impl(PyObject *module, PyObject *prompt) | |
| 2082 | - /*[clinic end generated code: output=83db5a191e7a0d60 input=5e8bb70c2908fe3c]*/ | ||
| 2082 | + /*[clinic end generated code: output=83db5a191e7a0d60 input=159c46d4ae40977e]*/ | ||
| 2083 | 2083 | { | |
| 2084 | 2084 | PyThreadState *tstate = _PyThreadState_GET(); | |
| 2085 | 2085 | PyObject *fin = _PySys_GetAttr( | |
| Back | FazBrowse Home | New Git URL |
0 commit comments