mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
PY-1767: auto-add a correct first parameter to a method + tests.
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
class A(object):
|
||||
@classmethod
|
||||
def foo(cls):
|
||||
@@ -0,0 +1,3 @@
|
||||
class A(object):
|
||||
@classmethod
|
||||
def foo<caret>
|
||||
@@ -0,0 +1,3 @@
|
||||
class A(type):
|
||||
@classmethod
|
||||
def f(cls):
|
||||
@@ -0,0 +1,3 @@
|
||||
class A(type):
|
||||
@classmethod
|
||||
def f<caret>
|
||||
@@ -0,0 +1,2 @@
|
||||
class A(type):
|
||||
def __new__(typ):
|
||||
@@ -0,0 +1,2 @@
|
||||
class A(type):
|
||||
def __new__<caret>
|
||||
@@ -0,0 +1,2 @@
|
||||
class A(type):
|
||||
def f(cls):
|
||||
@@ -0,0 +1,2 @@
|
||||
class A(type):
|
||||
def f<caret>
|
||||
@@ -0,0 +1,2 @@
|
||||
class A(object):
|
||||
def foo(self):
|
||||
@@ -0,0 +1,2 @@
|
||||
class A(object):
|
||||
def foo<caret>
|
||||
@@ -0,0 +1,2 @@
|
||||
class A(object):
|
||||
def __init__(self):
|
||||
@@ -0,0 +1,2 @@
|
||||
class A(object):
|
||||
def __init__<caret>
|
||||
@@ -0,0 +1,2 @@
|
||||
class A(object):
|
||||
def __new__(cls):
|
||||
@@ -0,0 +1,2 @@
|
||||
class A(object):
|
||||
def __new__<caret>
|
||||
@@ -0,0 +1,3 @@
|
||||
class A(object):
|
||||
@staticmethod
|
||||
def foo():
|
||||
@@ -0,0 +1,3 @@
|
||||
class A(object):
|
||||
@staticmethod
|
||||
def foo<caret>
|
||||
Reference in New Issue
Block a user