Commits

Robert Lehmann committed 379ee76

Preliminary fix for broken translations in autodoc/viewcode.

  • Participants
  • Parent commits aa34645

Comments (0)

Files changed (1)

sphinx/ext/viewcode.py

         for signode in objnode:
             if not isinstance(signode, addnodes.desc_signature):
                 continue
-            modname = signode['module']
+            modname = signode.get('module')
             if not modname:
                 continue
             fullname = signode['fullname']