diff --git a/jedi/parser/python/tree.py b/jedi/parser/python/tree.py index 3a4f2da7..e3901f46 100644 --- a/jedi/parser/python/tree.py +++ b/jedi/parser/python/tree.py @@ -19,9 +19,9 @@ The easiest way to play with this module is to use :class:`parsing.Parser`. Any subclasses of :class:`Scope`, including :class:`Module` has an attribute -:attr:`imports `: +:attr:`iter_imports `: ->>> module.imports +>>> list(module.iter_imports()) [] """