forked from VimPlug/jedi
new ordering tests for classes
This commit is contained in:
@@ -57,7 +57,7 @@ a
|
|||||||
b
|
b
|
||||||
|
|
||||||
# -----------------
|
# -----------------
|
||||||
# function stuff
|
# function
|
||||||
# -----------------
|
# -----------------
|
||||||
def a(a=3):
|
def a(a=3):
|
||||||
#? int()
|
#? int()
|
||||||
@@ -71,7 +71,7 @@ a(2)
|
|||||||
#? []
|
#? []
|
||||||
a(2).func
|
a(2).func
|
||||||
# -----------------
|
# -----------------
|
||||||
# class stuff
|
# class
|
||||||
# -----------------
|
# -----------------
|
||||||
class A(object):
|
class A(object):
|
||||||
a = ""
|
a = ""
|
||||||
@@ -121,8 +121,18 @@ a.real
|
|||||||
#? list() str() int()
|
#? list() str() int()
|
||||||
a.a
|
a.a
|
||||||
|
|
||||||
|
a = 3
|
||||||
|
class a():
|
||||||
|
def __init__(self, a):
|
||||||
|
self.a = a
|
||||||
|
|
||||||
|
#? float()
|
||||||
|
a(1.0).a
|
||||||
|
#?
|
||||||
|
a().a
|
||||||
|
|
||||||
# -----------------
|
# -----------------
|
||||||
# class stuff
|
# imports
|
||||||
# -----------------
|
# -----------------
|
||||||
|
|
||||||
math = 3
|
math = 3
|
||||||
|
|||||||
Reference in New Issue
Block a user