From f67f7844aa0fd24504db04e56282b8506bfbfb68 Mon Sep 17 00:00:00 2001 From: Georg Brandl Date: Sun, 9 Oct 2011 23:09:57 +0200 Subject: Satisfy "make check". --- sphinx/domains/python.py | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'sphinx/domains/python.py') 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, -- cgit v1.2.1