From a1454e3e69699df77cb180036f88336660457e42 Mon Sep 17 00:00:00 2001 From: Dave Halter Date: Sun, 30 Apr 2017 03:11:09 +0200 Subject: [PATCH] Fix a docstring test. --- jedi/parser/python/tree.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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()) [] """