> On 20 Jul 2020, at 16:31, Jonathan Gossage <jgoss...@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 -- https://mail.python.org/mailman/listinfo/python-list
- Typing modules Jonathan Gossage
- Re: Typing modules Stephan Lukits