Georg Brandl  committed de970cb

autodoc: debug module analyzer failure

  • Participants
  • Parent commits d263bff
  • Branches default

Comments (0)

Files changed (1)

File sphinx/ext/

             # parse right now, to get PycodeErrors on parsing (results will
             # be cached anyway)
-        except PycodeError:
+        except PycodeError, err:
+  '[autodoc] module analyzer failed: %s', err)
             # no source file -- e.g. for builtin and C modules
             self.analyzer = None
             # at least add the module.__file__ as a dependency