File tree Expand file tree Collapse file tree 3 files changed +6
-4
lines changed Expand file tree Collapse file tree 3 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -75,7 +75,8 @@ source.
7575
7676 .. versionchanged :: 3.14
7777 *command * is automatically dedented before execution.
78- Only supports spaces and tabs and doesn't normalize empty lines.
78+ The auto-dedentation behavior only supports spaces and tabs,
79+ and does not normalize empty lines.
7980
8081.. option :: -m <module-name >
8182
Original file line number Diff line number Diff line change @@ -1188,8 +1188,8 @@ 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. Only supports spaces and tabs and doesn't
1192- normalize empty lines.
1191+ argument before execution. The auto-dedentation behavior only
1192+ supports spaces and tabs and does not normalize empty lines.
11931193 (Contributed by Jon Crall and Steven Sun in :gh: `103998 `.)
11941194
11951195* Improve error message when an object supporting the synchronous
Original file line number Diff line number Diff line change @@ -1882,7 +1882,8 @@ Improve error message when :exc:`TypeError` occurs during
18821882.. section: Core and Builtins
18831883
18841884 String arguments passed to "-c" are now automatically dedented.
1885- Only supports spaces and tabs and doesn't normalize empty lines.
1885+ Only space-based and tab-based indentations are supported;
1886+ empty lines are also not normalized.
18861887This allows "python -c" invocations to be indented
18871888in shell scripts without causing indentation errors. (Patch by Jon Crall and
18881889Steven Sun)
You can’t perform that action at this time.
0 commit comments