Commit e9867f7
committed
fix: Fix aliases for direct nested imports
Previously `import a.b.c` was creating an alias
with name `a` pointing to `a.b.c`.
Now it creates an alias with name `a`
pointing to `a`.
We don't care about the nested attributes.
Issue mkdocstrings/python#32: mkdocstrings/python#321 parent 20f1f8f commit e9867f7
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
503 | 503 | | |
504 | 504 | | |
505 | 505 | | |
506 | | - | |
| 506 | + | |
507 | 507 | | |
508 | 508 | | |
509 | 509 | | |
| |||
0 commit comments