diff options
| author | Stephan Seitz <stephan.seitz@fau.de> | 2020-07-09 13:30:22 +0200 |
|---|---|---|
| committer | Thomas Vigouroux <39092278+vigoux@users.noreply.github.com> | 2020-07-09 14:38:08 +0200 |
| commit | a5fb463309e25841c4abec2ca7bcd826c04270bc (patch) | |
| tree | 3f0a7574a6266e116113398a21714ad083635d4f /queries/python | |
| parent | c361d65113168b9c3318b921130606c57e961fda (diff) | |
Python locals: with_statement can define variables
Diffstat (limited to 'queries/python')
| -rw-r--r-- | queries/python/locals.scm | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/queries/python/locals.scm b/queries/python/locals.scm index 1deca18c..7ff07957 100644 --- a/queries/python/locals.scm +++ b/queries/python/locals.scm @@ -29,6 +29,10 @@ (typed_default_parameter (identifier) @definition.var) +(with_statement + (with_item + alias: (identifier) @definition.var)) + ; *args parameter (parameters (list_splat |
