diff options
author | Georg Brandl <georg@python.org> | 2015-03-08 15:12:45 +0100 |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2015-03-08 15:12:45 +0100 |
commit | 0a91d7635a427cfb5b7a219af2feaabea85fcd7f (patch) | |
tree | 1ad4c72b92f3c49d9e5be4d073341c165b155202 /pygments/lexers/python.py | |
parent | 97040aba135480f60262d944cf2649f59b63f3de (diff) | |
download | pygments-0a91d7635a427cfb5b7a219af2feaabea85fcd7f.tar.gz |
Closes #1088: add ResourceWarning.
Diffstat (limited to 'pygments/lexers/python.py')
-rw-r--r-- | pygments/lexers/python.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pygments/lexers/python.py b/pygments/lexers/python.py index e5218be0..49c15b6d 100644 --- a/pygments/lexers/python.py +++ b/pygments/lexers/python.py @@ -246,7 +246,7 @@ class Python3Lexer(RegexLexer): 'ImportWarning', 'IndentationError', 'IndexError', 'KeyError', 'KeyboardInterrupt', 'LookupError', 'MemoryError', 'NameError', 'NotImplementedError', 'OSError', 'OverflowError', - 'PendingDeprecationWarning', 'ReferenceError', + 'PendingDeprecationWarning', 'ReferenceError', 'ResourceWarning', 'RuntimeError', 'RuntimeWarning', 'StopIteration', 'SyntaxError', 'SyntaxWarning', 'SystemError', 'SystemExit', 'TabError', 'TypeError', 'UnboundLocalError', 'UnicodeDecodeError', |