We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4402fcb commit 92cb2b1Copy full SHA for 92cb2b1
docs/conf.py
@@ -313,7 +313,7 @@ def linkcode_resolve(domain, info):
313
obj = getattr(module, obj_name)
314
attr = getattr(obj, attr_name)
315
if inspect.isfunction(attr):
316
- filename = inspect.getmodule(obj).__name__.replace('.', '/')
+ filename = inspect.getmodule(attr).__name__.replace('.', '/')
317
lineno = inspect.getsourcelines(attr)[1]
318
else:
319
return None
0 commit comments