Skip to content

Commit 5e5c010

Browse files
Remove incorrect comments instead
1 parent c919d02 commit 5e5c010

File tree

4 files changed

+3
-6
lines changed

4 files changed

+3
-6
lines changed

Doc/whatsnew/3.14.rst

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff 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

Include/internal/pycore_unicodeobject.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff 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
*/
264263
extern PyObject* _PyUnicode_Dedent(PyObject *unicode);

Misc/NEWS.d/3.14.0b1.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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
18861886
in shell scripts without causing indentation errors. (Patch by Jon Crall and
18871887
Steven Sun)
18881888

Objects/unicodeobject.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff 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
*/
1439514394
PyObject *

0 commit comments

Comments
 (0)