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 06923a1 commit c155bc4Copy full SHA for c155bc4
pygments/lexers/python.py
@@ -258,7 +258,8 @@ def fstring_rules(ttype):
258
'InterruptedError', 'IsADirectoryError', 'NotADirectoryError',
259
'PermissionError', 'ProcessLookupError', 'TimeoutError',
260
# others new in Python 3
261
- 'StopAsyncIteration', 'ModuleNotFoundError', 'RecursionError'),
+ 'StopAsyncIteration', 'ModuleNotFoundError', 'RecursionError',
262
+ 'EncodingWarning'),
263
prefix=r'(?<!\.)', suffix=r'\b'),
264
Name.Exception),
265
],
0 commit comments