From 5b20016f360294ee436feb99fbfd270f9a3330d7 Mon Sep 17 00:00:00 2001 From: Samuel FORESTIER Date: Thu, 16 Jul 2020 02:52:54 +0000 Subject: [PATCH] [Python] Adds ResourceWarning to builtins exceptions list (#2324) --- Python/Python.sublime-syntax | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Python/Python.sublime-syntax b/Python/Python.sublime-syntax index 005562d542..0e46e2ceef 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