1
0
forked from VimPlug/jedi

new ordering tests for classes

This commit is contained in:
David Halter
2012-07-19 17:18:55 +02:00
parent 6ef99d4338
commit b432090f58

View File

@@ -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