Show More
@@ -153,6 +153,10 b' class TokenTransformBase:' | |||
|
153 | 153 | |
|
154 | 154 | Subclasses need to implement one class method (find) |
|
155 | 155 | and one regular method (transform). |
|
156 | ||
|
157 | The priority attribute can select which transformation to apply if multiple | |
|
158 | transformers match in the same place. Lower numbers have higher priority. | |
|
159 | This allows "%magic?" to be turned into a help call rather than a magic call. | |
|
156 | 160 | """ |
|
157 | 161 | # Lower numbers -> higher priority (for matches in the same location) |
|
158 | 162 | priority = 10 |
General Comments 0
You need to be logged in to leave comments.
Login now