mnmelo / lazy_import

A module for lazy loading of Python modules
Other
86 stars 29 forks source link

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

Open Liam-Deacon opened 5 years ago

Liam-Deacon commented 5 years ago

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 '