| 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 | |
|---|---|---|---|
@@ -2034,7 +2034,7 @@ flush: whether to forcibly flush the stream."); | |||
| 2034 | 2034 | /*[clinic input] | |
| 2035 | 2035 | input as builtin_input | |
| 2036 | 2036 | ||
| 2037 | - prompt: object(c_default="NULL") = None | ||
| 2037 | + prompt: object(c_default="NULL") = "" | ||
| 2038 | 2038 | / | |
| 2039 | 2039 | ||
| 2040 | 2040 | Read a string from standard input. The trailing newline is stripped. | |
@@ -2048,7 +2048,7 @@ On *nix systems, readline is used if available. | |||
| 2048 | 2048 | ||
| 2049 | 2049 | static PyObject * | |
| 2050 | 2050 | builtin_input_impl(PyObject *module, PyObject *prompt) | |
| 2051 | - /*[clinic end generated code: output=83db5a191e7a0d60 input=5e8bb70c2908fe3c]*/ | ||
| 2051 | + /*[clinic end generated code: output=83db5a191e7a0d60 input=159c46d4ae40977e]*/ | ||
| 2052 | 2052 | { | |
| 2053 | 2053 | PyObject *fin = _PySys_GetObjectId(&PyId_stdin); | |
| 2054 | 2054 | PyObject *fout = _PySys_GetObjectId(&PyId_stdout); | |
| Back | FazBrowse Home | New Git URL |
0 commit comments