diff options
author | gbrandl <devnull@localhost> | 2007-01-12 23:05:37 +0100 |
---|---|---|
committer | gbrandl <devnull@localhost> | 2007-01-12 23:05:37 +0100 |
commit | f2104882a53bf96ffdaf022ee08519bf50d4dbaa (patch) | |
tree | 6e3836ec201e0f66535bf5661ad900d73db608a0 /docs/generate.py | |
parent | ab314f97200cb94f8c3e7b87b4c418aa68f828dd (diff) | |
download | pygments-f2104882a53bf96ffdaf022ee08519bf50d4dbaa.tar.gz |
[svn] Fix 2.4 compat.
Diffstat (limited to 'docs/generate.py')
-rw-r--r-- | docs/generate.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/generate.py b/docs/generate.py index abc4565a..c52677a5 100644 --- a/docs/generate.py +++ b/docs/generate.py @@ -45,7 +45,7 @@ def generate_lexer_docs(): moduledocstrings = {} for classname, data in sorted(LEXERS.iteritems(), key=lambda x: x[0]): module = data[0] - mod = __import__(module, fromlist=[classname]) + mod = __import__(module, None, None, [classname]) cls = getattr(mod, classname) if not cls.__doc__: print "Warning: %s does not have a docstring." % classname |