Skip to content

"bar" documentation not found if imported as "from foo import bar" #33

@fvisin

Description

@fvisin

When modules are imported as from foo import bar the plugin fails to find the documentation of bar.
For instance, <leader>pw on bar in the following code will result in no Python documentation found:

from foo import bar

my_var = bar(my_args)

while <leader>pW on bar in the following code works as expected:

import foo.bar

my_var = foo.bar(my_args)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions