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 e5b4851 commit 5127d54Copy full SHA for 5127d54
doc/tools/apigen.py
@@ -207,7 +207,7 @@ def _parse_module_with_import(self, uri):
207
classes : list of str
208
A list of (public) class names in the module.
209
"""
210
- mod = __import__(uri, fromlist=[uri])
+ mod = __import__(uri, fromlist=[uri.split('.')[-1]])
211
# find all public objects in the module.
212
obj_strs = [obj for obj in dir(mod) if not obj.startswith('_')]
213
functions = []
0 commit comments