mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
PY-15218 Use "from import" if we insert import for symbol regardless of preferred import style
This commit is contained in:
+7
@@ -0,0 +1,7 @@
|
||||
from b import bar
|
||||
|
||||
|
||||
def foo():
|
||||
bar()
|
||||
|
||||
|
||||
+2
@@ -0,0 +1,2 @@
|
||||
def bar():
|
||||
pass
|
||||
+6
@@ -0,0 +1,6 @@
|
||||
def foo():
|
||||
bar()
|
||||
|
||||
|
||||
def bar():
|
||||
pass
|
||||
Reference in New Issue
Block a user