1
0
forked from VimPlug/jedi

statement parsing

This commit is contained in:
David Halter
2012-02-21 15:39:28 +01:00
parent 7597ed05a0
commit 4ba5b7c83b
3 changed files with 92 additions and 38 deletions

11
test.py
View File

@@ -10,7 +10,7 @@ from token import OP as OP_TEST, INDENT as INDENT_TEST
aaa = 6; bbb = 13
ccc = bbb; d = open("test.py");
class Intro:
class Intro(object):
def testing(self, string):
return string+","
@@ -20,23 +20,24 @@ class Supi(A, datetime.datetime):
static_var = 0
def __init__():
import time
pass
def test(self):
import time
print 1
return A()
class A():
class B():
#class B():
def test(self):
return A()
class C:
a = A()
b = a.test()
def blub:
class Empty():
pass
def blub():
cdef = 5
def func():