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
1188
1188
(Contributed by Tomasz Pytel in :gh: `132329 `.)
1189
1189
1190
1190
* 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.
1193
1192
(Contributed by Jon Crall and Steven Sun in :gh: `103998 `.)
1194
1193
1195
1194
* 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(
258
258
int forward );
259
259
260
260
/* Dedent a string.
261
- Behaviour is expected to be an exact match of `textwrap.dedent`.
262
261
Return a new reference on success, NULL with exception set on error.
263
262
*/
264
263
extern 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
1881
1881
.. nonce: BS3uVt
1882
1882
.. section: Core and Builtins
1883
1883
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
1886
1886
in shell scripts without causing indentation errors. (Patch by Jon Crall and
1887
1887
Steven Sun)
1888
1888
Original file line number Diff line number Diff line change @@ -14389,7 +14389,6 @@ search_longest_common_leading_whitespace(
14389
14389
}
14390
14390
14391
14391
/* Dedent a string.
14392
- Behaviour is expected to be an exact match of `textwrap.dedent`.
14393
14392
Return a new reference on success, NULL with exception set on error.
14394
14393
*/
14395
14394
PyObject *
You can’t perform that action at this time.
0 commit comments