Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Doc/whatsnew/3.11.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1116,8 +1116,8 @@ Deprecated
that was added in Python 3.10.
(Contributed by Raymond Hettinger in :gh:`89519`.)

* Octal escapes with value larger than ``0o377`` now produce
a :exc:`DeprecationWarning`.
* Octal escapes in string and bytes literals with value larger than ``0o377`` now
produce :exc:`DeprecationWarning`.
In a future Python version they will be a :exc:`SyntaxWarning` and
eventually a :exc:`SyntaxError`.
(Contributed by Serhiy Storchaka in :gh:`81548`.)
Expand Down