File tree Expand file tree Collapse file tree 4 files changed +3
-6
lines changed
Expand file tree Collapse file tree 4 files changed +3
-6
lines changed Original file line number Diff line number Diff line change @@ -1188,8 +1188,7 @@ Other language changes
11881188 (Contributed by Tomasz Pytel in :gh: `132329 `.)
11891189
11901190* The command-line option :option: `-c ` now automatically dedents its code
1191- argument before execution. The auto-dedentation behavior mirrors
1192- :func: `textwrap.dedent `.
1191+ argument before execution.
11931192 (Contributed by Jon Crall and Steven Sun in :gh: `103998 `.)
11941193
11951194* Improve error message when an object supporting the synchronous
Original file line number Diff line number Diff line change @@ -258,7 +258,6 @@ extern Py_ssize_t _PyUnicode_InsertThousandsGrouping(
258258 int forward );
259259
260260/* Dedent a string.
261- Behaviour is expected to be an exact match of `textwrap.dedent`.
262261 Return a new reference on success, NULL with exception set on error.
263262 */
264263extern PyObject * _PyUnicode_Dedent (PyObject * unicode );
Original file line number Diff line number Diff line change @@ -1881,8 +1881,8 @@ Improve error message when :exc:`TypeError` occurs during
18811881.. nonce: BS3uVt
18821882.. section: Core and Builtins
18831883
1884- String arguments passed to "-c" are now automatically dedented as if by
1885- :func: ` textwrap.dedent `. This allows "python -c" invocations to be indented
1884+ String arguments passed to "-c" are now automatically dedented.
1885+ This allows "python -c" invocations to be indented
18861886in shell scripts without causing indentation errors. (Patch by Jon Crall and
18871887Steven Sun)
18881888
Original file line number Diff line number Diff line change @@ -14389,7 +14389,6 @@ search_longest_common_leading_whitespace(
1438914389}
1439014390
1439114391/* Dedent a string.
14392- Behaviour is expected to be an exact match of `textwrap.dedent`.
1439314392 Return a new reference on success, NULL with exception set on error.
1439414393 */
1439514394PyObject *
You can’t perform that action at this time.
0 commit comments