diff options
Diffstat (limited to 'pygments/token.py')
-rw-r--r-- | pygments/token.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/pygments/token.py b/pygments/token.py index bbbcc648..6c30442c 100644 --- a/pygments/token.py +++ b/pygments/token.py @@ -13,13 +13,13 @@ class _TokenType(tuple): parent = None def split(self): - buffer = [] + buf = [] node = self while node is not None: - buffer.append(node) + buf.append(node) node = node.parent - buffer.reverse() - return buffer + buf.reverse() + return buf def __getattr__(self, val): if not val or not val[0].isupper(): |