We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 730902c commit 0d8500cCopy full SHA for 0d8500c
Doc/whatsnew/3.11.rst
@@ -1116,8 +1116,8 @@ Deprecated
1116
that was added in Python 3.10.
1117
(Contributed by Raymond Hettinger in :gh:`89519`.)
1118
1119
-* Octal escapes with value larger than ``0o377`` now produce
1120
- a :exc:`DeprecationWarning`.
+* Octal escapes in string and bytes literals with value larger than ``0o377`` now
+ produce :exc:`DeprecationWarning`.
1121
In a future Python version they will be a :exc:`SyntaxWarning` and
1122
eventually a :exc:`SyntaxError`.
1123
(Contributed by Serhiy Storchaka in :gh:`81548`.)
0 commit comments