Skip to content

Better help (__doc__) for lazy_import.lazy_callable wrapped functions #17

@Liam-Deacon

Description

@Liam-Deacon

Hi,

I think it would be great if help(lazy_import.lazy_callable('pkg.mod', 'func')) returned a docstring along the lines of 'lazy callable object pkg.mod.func', currently I get the less helpful 'Class for lazily-loaded callables that triggers module loading on access\n\n '

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