summaryrefslogtreecommitdiff
path: root/pygments/formatter.py
diff options
context:
space:
mode:
authorblackbird <devnull@localhost>2006-11-23 22:18:20 +0100
committerblackbird <devnull@localhost>2006-11-23 22:18:20 +0100
commit5b1df1920c3c315f9e873ecf18cceb90452970c4 (patch)
tree118eb855f6c181652d67178880a5bc592e49eb5c /pygments/formatter.py
parent5d3c19b60ede893fc231f02063b80d41b0207ac9 (diff)
downloadpygments-5b1df1920c3c315f9e873ecf18cceb90452970c4.tar.gz
[svn] some minor updates:
* iterator functions for style/formatters/lexers * as/with keyword in python * get_style_defs now takes lists and tuples to yield multiple prefixes * updated documentation
Diffstat (limited to 'pygments/formatter.py')
-rw-r--r--pygments/formatter.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/pygments/formatter.py b/pygments/formatter.py
index fe7ccc97..47477f34 100644
--- a/pygments/formatter.py
+++ b/pygments/formatter.py
@@ -56,7 +56,8 @@ class Formatter(object):
Return the style definitions for the current style as a string.
``arg`` is an additional argument whose meaning depends on the
- formatter used.
+ formatter used. Note that ``arg`` can also be a list or tuple
+ for some formatters like the html formatter.
"""
return ''