Commits

Georg Brandl committed 0f8b539

Fix references to methods without a module.

  • Participants
  • Parent commits b344591

Comments (0)

Files changed (1)

sphinx/environment.py

         else:
             if name in self.descrefs:
                 newname = name
+            elif classname and classname + '.' + name in self.descrefs:
+                newname = classname + '.' + name
             elif modname and modname + '.' + name in self.descrefs:
                 newname = modname + '.' + name
             elif modname and classname and \