diff --git a/Python/Python.sublime-syntax b/Python/Python.sublime-syntax index 005562d5421..0e46e2ceef6 100644 --- a/Python/Python.sublime-syntax +++ b/Python/Python.sublime-syntax @@ -1093,7 +1093,7 @@ contexts: Runtime|Standard|Syntax|System|Tab|Timeout|Type|UnboundLocal| Unicode(Encode|Decode|Translate)?|Value|VMS|Windows|ZeroDivision )Error| - ((Pending)?Deprecation|Runtime|Syntax|User|Future|Import|Unicode|Bytes)?Warning| + ((Pending)?Deprecation|Resource|Runtime|Syntax|User|Future|Import|Unicode|Bytes)?Warning| (Base)?Exception| SystemExit|StopIteration|NotImplemented|KeyboardInterrupt|GeneratorExit )\b