comparison: Utilities/ModuleParser.py
Utilities/ModuleParser.py
- changeset 49
- f991944e859c
- parent 45
- 9a18f4dbb493
- child 97
- c4086afea02b
equal
deleted
inserted
replaced
133 (?P<VariableName> [a-zA-Z_] \w* ) |
133 (?P<VariableName> [a-zA-Z_] \w* ) |
134 [ \t]* = |
134 [ \t]* = |
135 ) |
135 ) |
136 |
136 |
137 | (?P<Import> |
137 | (?P<Import> |
138 ^ import [ \t]+ |
138 ^ (?: import | from [ \t]+ \. [ \t]+ import ) [ \t]+ |
139 (?P<ImportList> [^#;\n]+ ) |
139 (?P<ImportList> [^#;\n]+ ) |
140 ) |
140 ) |
141 |
141 |
142 | (?P<ImportFrom> |
142 | (?P<ImportFrom> |
143 ^ from [ \t]+ |
143 ^ from [ \t]+ |