| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent f9aa6f1 commit 3f3da35
4 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1568,7 +1568,7 @@ repository: | |||
| 1568 | 1568 | ''' | |
| 1569 | 1569 | match: ''' | |
| 1570 | 1570 | (?x) | |
| 1571 | - (\\.)?\\b( | ||
| 1571 | + \\b( | ||
| 1572 | 1572 | __(?: | |
| 1573 | 1573 | abs | add | aenter | aexit | aiter | and | anext | await | |
| 1574 | 1574 | | bool | call | ceil | cmp | coerce | complex | contains | |
@@ -1592,7 +1592,7 @@ repository: | |||
| 1592 | 1592 | ||
| 1593 | 1593 | ''' | |
| 1594 | 1594 | captures: | |
| 1595 | - "2": | ||
| 1595 | + "1": | ||
| 1596 | 1596 | name: "support.function.magic.python" | |
| 1597 | 1597 | "magic-variable-names": | |
| 1598 | 1598 | comment: "magic variables which a class/module may have." | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1058,7 +1058,7 @@ repository: | |||
| 1058 | 1058 | indirectly through syntactic constructs | |
| 1059 | 1059 | match: | | |
| 1060 | 1060 | (?x) | |
| 1061 | - (\.)?\b( | ||
| 1061 | + \b( | ||
| 1062 | 1062 | __(?: | |
| 1063 | 1063 | abs | add | aenter | aexit | aiter | and | anext | await | |
| 1064 | 1064 | | bool | call | ceil | cmp | coerce | complex | contains | |
@@ -1080,7 +1080,7 @@ repository: | |||
| 1080 | 1080 | )__ | |
| 1081 | 1081 | )\b | |
| 1082 | 1082 | captures: | |
| 1083 | - '2': {name: support.function.magic.python} | ||
| 1083 | + '1': {name: support.function.magic.python} | ||
| 1084 | 1084 | ||
| 1085 | 1085 | magic-variable-names: | |
| 1086 | 1086 | comment: magic variables which a class/module may have. | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -2474,7 +2474,7 @@ indirectly through syntactic constructs | |||
| 2474 | 2474 | </string> | |
| 2475 | 2475 | <key>match</key> | |
| 2476 | 2476 | <string>(?x) | |
| 2477 | - (\.)?\b( | ||
| 2477 | + \b( | ||
| 2478 | 2478 | __(?: | |
| 2479 | 2479 | abs | add | aenter | aexit | aiter | and | anext | await | |
| 2480 | 2480 | | bool | call | ceil | cmp | coerce | complex | contains | |
@@ -2498,7 +2498,7 @@ indirectly through syntactic constructs | |||
| 2498 | 2498 | </string> | |
| 2499 | 2499 | <key>captures</key> | |
| 2500 | 2500 | <dict> | |
| 2501 | - <key>2</key> | ||
| 2501 | + <key>1</key> | ||
| 2502 | 2502 | <dict> | |
| 2503 | 2503 | <key>name</key> | |
| 2504 | 2504 | <string>support.function.magic.python</string> | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -0,0 +1,95 @@ | |||
| 1 | + class Foo: | ||
| 2 | + def __init__(self): | ||
| 3 | + super().__init__(foo=1) | ||
| 4 | + super(). __init__(foo=1) | ||
| 5 | + super(). \ | ||
| 6 | + __init__(foo=1) | ||
| 7 | + __init__(foo=1) | ||
| 8 | + | ||
| 9 | + foo.__init__(bar=1) | ||
| 10 | + __init__(bar=1) | ||
| 11 | + if: | ||
| 12 | + __init__(bar=1) | ||
| 13 | + | ||
| 14 | + | ||
| 15 | + | ||
| 16 | + | ||
| 17 | + class : meta.class.python, source.python, storage.type.class.python | ||
| 18 | + : meta.class.python, source.python | ||
| 19 | + Foo : entity.name.type.class.python, meta.class.python, source.python | ||
| 20 | + : : meta.class.python, punctuation.section.class.begin.python, source.python | ||
| 21 | + : source.python | ||
| 22 | + def : meta.function.python, source.python, storage.type.function.python | ||
| 23 | + : meta.function.python, source.python | ||
| 24 | + __init__ : meta.function.python, source.python, support.function.magic.python | ||
| 25 | + ( : meta.function.parameters.python, meta.function.python, punctuation.definition.parameters.begin.python, source.python | ||
| 26 | + self : meta.function.parameters.python, meta.function.python, source.python, variable.parameter.function.language.python, variable.parameter.function.language.special.self.python | ||
| 27 | + ) : meta.function.parameters.python, meta.function.python, punctuation.definition.parameters.end.python, source.python | ||
| 28 | + : : meta.function.python, punctuation.section.function.begin.python, source.python | ||
| 29 | + : source.python | ||
| 30 | + super : meta.function-call.python, source.python, support.type.python | ||
| 31 | + ( : meta.function-call.python, punctuation.definition.arguments.begin.python, source.python | ||
| 32 | + ) : meta.function-call.python, punctuation.definition.arguments.end.python, source.python | ||
| 33 | + . : source.python | ||
| 34 | + __init__ : meta.function-call.python, source.python, support.function.magic.python | ||
| 35 | + ( : meta.function-call.python, punctuation.definition.arguments.begin.python, source.python | ||
| 36 | + foo : meta.function-call.arguments.python, meta.function-call.python, source.python, variable.parameter.function-call.python | ||
| 37 | + = : keyword.operator.assignment.python, meta.function-call.arguments.python, meta.function-call.python, source.python | ||
| 38 | + 1 : constant.numeric.dec.python, meta.function-call.arguments.python, meta.function-call.python, source.python | ||
| 39 | + ) : meta.function-call.python, punctuation.definition.arguments.end.python, source.python | ||
| 40 | + : source.python | ||
| 41 | + super : meta.function-call.python, source.python, support.type.python | ||
| 42 | + ( : meta.function-call.python, punctuation.definition.arguments.begin.python, source.python | ||
| 43 | + ) : meta.function-call.python, punctuation.definition.arguments.end.python, source.python | ||
| 44 | + . : source.python | ||
| 45 | + __init__ : meta.function-call.python, source.python, support.function.magic.python | ||
| 46 | + ( : meta.function-call.python, punctuation.definition.arguments.begin.python, source.python | ||
| 47 | + foo : meta.function-call.arguments.python, meta.function-call.python, source.python, variable.parameter.function-call.python | ||
| 48 | + = : keyword.operator.assignment.python, meta.function-call.arguments.python, meta.function-call.python, source.python | ||
| 49 | + 1 : constant.numeric.dec.python, meta.function-call.arguments.python, meta.function-call.python, source.python | ||
| 50 | + ) : meta.function-call.python, punctuation.definition.arguments.end.python, source.python | ||
| 51 | + : source.python | ||
| 52 | + super : meta.function-call.python, source.python, support.type.python | ||
| 53 | + ( : meta.function-call.python, punctuation.definition.arguments.begin.python, source.python | ||
| 54 | + ) : meta.function-call.python, punctuation.definition.arguments.end.python, source.python | ||
| 55 | + . : source.python | ||
| 56 | + \ : separator.continuation.line.python, source.python | ||
| 57 | + : source.python | ||
| 58 | + __init__ : meta.function-call.python, source.python, support.function.magic.python | ||
| 59 | + ( : meta.function-call.python, punctuation.definition.arguments.begin.python, source.python | ||
| 60 | + foo : meta.function-call.arguments.python, meta.function-call.python, source.python, variable.parameter.function-call.python | ||
| 61 | + = : keyword.operator.assignment.python, meta.function-call.arguments.python, meta.function-call.python, source.python | ||
| 62 | + 1 : constant.numeric.dec.python, meta.function-call.arguments.python, meta.function-call.python, source.python | ||
| 63 | + ) : meta.function-call.python, punctuation.definition.arguments.end.python, source.python | ||
| 64 | + : source.python | ||
| 65 | + __init__ : meta.function-call.python, source.python, support.function.magic.python | ||
| 66 | + ( : meta.function-call.python, punctuation.definition.arguments.begin.python, source.python | ||
| 67 | + foo : meta.function-call.arguments.python, meta.function-call.python, source.python, variable.parameter.function-call.python | ||
| 68 | + = : keyword.operator.assignment.python, meta.function-call.arguments.python, meta.function-call.python, source.python | ||
| 69 | + 1 : constant.numeric.dec.python, meta.function-call.arguments.python, meta.function-call.python, source.python | ||
| 70 | + ) : meta.function-call.python, punctuation.definition.arguments.end.python, source.python | ||
| 71 | + : source.python | ||
| 72 | + foo. : source.python | ||
| 73 | + __init__ : meta.function-call.python, source.python, support.function.magic.python | ||
| 74 | + ( : meta.function-call.python, punctuation.definition.arguments.begin.python, source.python | ||
| 75 | + bar : meta.function-call.arguments.python, meta.function-call.python, source.python, variable.parameter.function-call.python | ||
| 76 | + = : keyword.operator.assignment.python, meta.function-call.arguments.python, meta.function-call.python, source.python | ||
| 77 | + 1 : constant.numeric.dec.python, meta.function-call.arguments.python, meta.function-call.python, source.python | ||
| 78 | + ) : meta.function-call.python, punctuation.definition.arguments.end.python, source.python | ||
| 79 | + : source.python | ||
| 80 | + __init__ : meta.function-call.python, source.python, support.function.magic.python | ||
| 81 | + ( : meta.function-call.python, punctuation.definition.arguments.begin.python, source.python | ||
| 82 | + bar : meta.function-call.arguments.python, meta.function-call.python, source.python, variable.parameter.function-call.python | ||
| 83 | + = : keyword.operator.assignment.python, meta.function-call.arguments.python, meta.function-call.python, source.python | ||
| 84 | + 1 : constant.numeric.dec.python, meta.function-call.arguments.python, meta.function-call.python, source.python | ||
| 85 | + ) : meta.function-call.python, punctuation.definition.arguments.end.python, source.python | ||
| 86 | + : source.python | ||
| 87 | + if : keyword.control.flow.python, source.python | ||
| 88 | + : : source.python | ||
| 89 | + : source.python | ||
| 90 | + __init__ : meta.function-call.python, source.python, support.function.magic.python | ||
| 91 | + ( : meta.function-call.python, punctuation.definition.arguments.begin.python, source.python | ||
| 92 | + bar : meta.function-call.arguments.python, meta.function-call.python, source.python, variable.parameter.function-call.python | ||
| 93 | + = : keyword.operator.assignment.python, meta.function-call.arguments.python, meta.function-call.python, source.python | ||
| 94 | + 1 : constant.numeric.dec.python, meta.function-call.arguments.python, meta.function-call.python, source.python | ||
| 95 | + ) : meta.function-call.python, punctuation.definition.arguments.end.python, source.python | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments