1
0
forked from VimPlug/jedi

Do not use >>> for non-doctest code example

Use literal block instead.
This commit is contained in:
Takafumi Arakaki
2013-02-26 10:36:08 +01:00
parent dad9cf0518
commit 95a98c9033
6 changed files with 27 additions and 24 deletions
+3 -2
View File
@@ -84,8 +84,9 @@ class ImportPath(pr.Base):
def is_nested_import(self):
"""
This checks for the special case of nested imports, without aliases and
from statement:
>>> import foo.bar
from statement::
import foo.bar
"""
return not self.import_stmt.alias and not self.import_stmt.from_ns \
and len(self.import_stmt.namespace.names) > 1 \