[Python-checkins] r57078 - doctools/trunk/sphinx/environment.py
brett.cannon
python-checkins at python.org
Thu Aug 16 03:50:19 CEST 2007
Author: brett.cannon
Date: Thu Aug 16 03:50:19 2007
New Revision: 57078
Modified:
doctools/trunk/sphinx/environment.py
Log:
Fix bug where a default tuple did not have enough value to unpack.
Modified: doctools/trunk/sphinx/environment.py
==============================================================================
--- doctools/trunk/sphinx/environment.py (original)
+++ doctools/trunk/sphinx/environment.py Thu Aug 16 03:50:19 2007
@@ -606,7 +606,7 @@
newnode.append(contnode)
elif typ == 'mod':
filename, synopsis, platform, deprecated = \
- self.modules.get(target, ('','',''))
+ self.modules.get(target, ('','','', ''))
# just link to an anchor if there are multiple modules in one file
# because the anchor is generally below the heading which is ugly
# but can't be helped easily
More information about the Python-checkins
mailing list