Added missing changelog entry

pull/394/head
Ashley Whetter 12 months ago
parent 86cf7e2b87
commit c3c6e15d16

@ -264,9 +264,9 @@ def viewcode_follow_imported(app, modname, attribute):
if fullname not in all_objects:
return None
if all_objects[fullname].obj.get("type") == 'method':
fullname = fullname[:fullname.rfind('.')]
attribute = attribute[:attribute.rfind('.')]
if all_objects[fullname].obj.get("type") == "method":
fullname = fullname[: fullname.rfind(".")]
attribute = attribute[: attribute.rfind(".")]
while all_objects[fullname].obj.get("original_path", "") != "":
fullname = all_objects[fullname].obj.get("original_path")

@ -0,0 +1 @@
Fixed viewcode being unable to find the source code for imported objects
Loading…
Cancel
Save