We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4ff1830 commit 635a2a9Copy full SHA for 635a2a9
mypy/fastparse.py
@@ -233,8 +233,8 @@ def parse(
233
feature_version = options.python_version[1]
234
try:
235
# Disable
236
- # - deprecation warnings about \u
237
- # - syntax warnings for 'invalid escape sequence' (3.12+) and 'return in finally' (3.14+)
+ # - deprecation warnings for 'invalid escape sequence' (Python 3.11 and below)
+ # - syntax warnings for 'invalid escape sequence' (3.12+), and 'return in finally' (3.14+)
238
with warnings.catch_warnings():
239
warnings.filterwarnings("ignore", category=DeprecationWarning)
240
warnings.filterwarnings("ignore", category=SyntaxWarning)
0 commit comments