Typing modules
Stephan Lukits
stephan.lukits at gmail.com
Mon Jul 20 12:13:09 EDT 2020
> On 20 Jul 2020, at 16:31, Jonathan Gossage <jgossage at gmail.com> wrote:
>
> I have the following code and I would like to type the variable *contents*:
>
> contents: something = importlib._import_module(name)
>
>
> I have been unable to find out what *something* should be.
types.ModuleType
>
> --
> Jonathan Gossage
> --
> https://mail.python.org/mailman/listinfo/python-list
More information about the Python-list
mailing list