Re: Typing modules

2020-07-20 Thread Stephan Lukits
> On 20 Jul 2020, at 16:31, Jonathan Gossage 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 > > -- > Jonatha

Typing modules

2020-07-20 Thread Jonathan Gossage
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. -- Jonathan Gossage -- https://mail.python.org/mailman/listinfo/python-list