summaryrefslogtreecommitdiff
path: root/pygments/token.py
diff options
context:
space:
mode:
authorgbrandl <devnull@localhost>2006-10-30 10:52:36 +0100
committergbrandl <devnull@localhost>2006-10-30 10:52:36 +0100
commit5555cc89b14f0d30438d04eb535ca8c61fa6bd8a (patch)
tree152353a7fc55194412e5f871ea85451e0873e1f9 /pygments/token.py
parent2c0b1bae7a5f3416b75ca76fc93cad8bf422a08d (diff)
downloadpygments-5555cc89b14f0d30438d04eb535ca8c61fa6bd8a.tar.gz
[svn] More pylint fixes, update BBcode formatter to new style API.
Diffstat (limited to 'pygments/token.py')
-rw-r--r--pygments/token.py8
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():