MCPcopy Create free account
hub / github.com/sphinx-doc/sphinx / PycodeError

Class PycodeError

sphinx/errors.py:118–125  ·  view source on GitHub ↗

Pycode Python source code analyser error.

Source from the content-addressed store, hash-verified

116
117
118class PycodeError(Exception):
119 """Pycode Python source code analyser error."""
120
121 def __str__(self) -> str:
122 res = self.args[0]
123 if len(self.args) > 1:
124 res += ' (exception was: %r)' % self.args[1]
125 return res
126
127
128class NoUri(Exception):

Callers 3

get_module_sourceMethod · 0.90
for_fileMethod · 0.90
analyzeMethod · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected