summaryrefslogtreecommitdiff
path: root/sphinx/domains/python.py
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2010-05-23 13:06:01 +0200
committerGeorg Brandl <georg@python.org>2010-05-23 13:06:01 +0200
commit569ab21949cd3fc97f351e5e668303dd80c14680 (patch)
tree989051f4197d5e59043b4cf1e89ca49ca707c505 /sphinx/domains/python.py
parent9b0db8938b61ed1f4f0bceaa6d012ed2a79c09ff (diff)
downloadsphinx-569ab21949cd3fc97f351e5e668303dd80c14680.tar.gz
#413: Added a way for intersphinx to refer to named labels in other
projects, and to specify the project you want to link to.
Diffstat (limited to 'sphinx/domains/python.py')
-rw-r--r--sphinx/domains/python.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/sphinx/domains/python.py b/sphinx/domains/python.py
index 8a9a629e..b97b9b42 100644
--- a/sphinx/domains/python.py
+++ b/sphinx/domains/python.py
@@ -617,6 +617,6 @@ class PythonDomain(Domain):
def get_objects(self):
for modname, info in self.data['modules'].iteritems():
- yield (modname, 'module', info[0], 'module-' + modname, 0)
+ yield (modname, modname, 'module', info[0], 'module-' + modname, 0)
for refname, (docname, type) in self.data['objects'].iteritems():
- yield (refname, type, docname, refname, 1)
+ yield (refname, refname, type, docname, refname, 1)