Skip to content

Commit

Permalink
Merge branch 'master' into 753-contrib-docs
Browse files Browse the repository at this point in the history
  • Loading branch information
tristanlatr authored Jan 17, 2024
2 parents 034c765 + 1b66928 commit abb5b87
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions pydoctor/astbuilder.py
Original file line number Diff line number Diff line change
Expand Up @@ -427,14 +427,12 @@ def _importNames(self, modname: str, names: Iterable[ast.alias]) -> None:
orgname, asname = al.name, al.asname
if asname is None:
asname = orgname

if mod is not None and self._handleReExport(exports, orgname, asname, mod) is True:
continue

# If we're importing from a package, make sure imported modules
# are processed (getProcessedModule() ignores non-modules).
if isinstance(mod, model.Package):
self.system.getProcessedModule(f'{modname}.{orgname}')
if mod is not None and self._handleReExport(exports, orgname, asname, mod) is True:
continue

_localNameToFullName[asname] = f'{modname}.{orgname}'

Expand Down

0 comments on commit abb5b87

Please sign in to comment.