mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Report the unimplemented node_name in exception
This commit is contained in:
parent
8fb03f5967
commit
350f196c4f
@ -63,7 +63,7 @@ def get_lvar_names(node, self=None):
|
||||
elif node_name == 'str':
|
||||
return [node] # type: ignore
|
||||
else:
|
||||
raise NotImplementedError
|
||||
raise NotImplementedError('Unexpected node name %r' % node_name)
|
||||
|
||||
|
||||
def dedent_docstring(s):
|
||||
|
Loading…
Reference in New Issue
Block a user