diff options
| author | Georg Brandl <georg@python.org> | 2011-10-09 23:09:57 +0200 |
|---|---|---|
| committer | Georg Brandl <georg@python.org> | 2011-10-09 23:09:57 +0200 |
| commit | f67f7844aa0fd24504db04e56282b8506bfbfb68 (patch) | |
| tree | a22fe7ebe1e7364ee1582f543a2e1abb04198817 /sphinx/domains/python.py | |
| parent | 07c872d8e80e1998a696b4975db9a61451a53c5c (diff) | |
| download | sphinx-f67f7844aa0fd24504db04e56282b8506bfbfb68.tar.gz | |
Satisfy "make check".
Diffstat (limited to 'sphinx/domains/python.py')
| -rw-r--r-- | sphinx/domains/python.py | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/sphinx/domains/python.py b/sphinx/domains/python.py index 98d93545..779b071a 100644 --- a/sphinx/domains/python.py +++ b/sphinx/domains/python.py @@ -422,13 +422,14 @@ class PyModule(Directive): env.domaindata['py']['modules'][modname] = \ (env.docname, self.options.get('synopsis', ''), self.options.get('platform', ''), 'deprecated' in self.options) - # make a duplicate entry in 'objects' to facilitate searching for the - # module in PythonDomain.find_obj() + # make a duplicate entry in 'objects' to facilitate searching for + # the module in PythonDomain.find_obj() env.domaindata['py']['objects'][modname] = (env.docname, 'module') - targetnode = nodes.target('', '', ids=['module-' + modname], ismod=True) + targetnode = nodes.target('', '', ids=['module-' + modname], + ismod=True) self.state.document.note_explicit_target(targetnode) - # the platform and synopsis aren't printed; in fact, they are only used - # in the modindex currently + # the platform and synopsis aren't printed; in fact, they are only + # used in the modindex currently ret.append(targetnode) indextext = _('%s (module)') % modname inode = addnodes.index(entries=[('single', indextext, |
