mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
PY-34493 Don't copy annotations from .pyi stubs and libraries on super method completion
GitOrigin-RevId: 65787827f5df5aa80986107dda0ba555b0942d40
This commit is contained in:
committed by
intellij-monorepo-bot
parent
dac1ef32bb
commit
b50c617b7c
+5
@@ -0,0 +1,5 @@
|
||||
from mod import Super
|
||||
|
||||
|
||||
class Sub(Super):
|
||||
def method(self, p: int) -> str:
|
||||
@@ -0,0 +1,5 @@
|
||||
from mod import Super
|
||||
|
||||
|
||||
class Sub(Super):
|
||||
def meth<caret>
|
||||
@@ -0,0 +1,3 @@
|
||||
class Super:
|
||||
def method(self, p: int) -> str:
|
||||
...
|
||||
@@ -0,0 +1,7 @@
|
||||
class Super:
|
||||
def method(self, x):
|
||||
pass
|
||||
|
||||
|
||||
class Sub(Super):
|
||||
def method(self, x):<caret>
|
||||
@@ -0,0 +1,7 @@
|
||||
class Super:
|
||||
def method(self, x):
|
||||
pass
|
||||
|
||||
|
||||
class Sub(Super):
|
||||
def meth<caret>
|
||||
@@ -0,0 +1,3 @@
|
||||
class Super:
|
||||
def method(self, x: int) -> str:
|
||||
...
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
class Super:
|
||||
def method(self, x: int) -> str:
|
||||
pass
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
from mod import Super
|
||||
|
||||
|
||||
class Sub(Super):
|
||||
def method(self, x):<caret>
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
from mod import Super
|
||||
|
||||
|
||||
class Sub(Super):
|
||||
def meth<caret>
|
||||
Reference in New Issue
Block a user