parent_stmt property never raises an error now, returns None

This commit is contained in:
David Halter committed 2012-07-19 17:15:48 +02:00
1 parent 6bea28938f
commit 6ef99d4338
2 files changed
+4 -2

No files matched your search

+1 -1
View File
@@ -6,7 +6,7 @@ second = ""
class TestClass(object):
var_class = TestClass(1)
def __init__(self2, first_param, second_param):
def __init__(self2, first_param, second_param, third=1.0):
self2.var_inst = first_param
self2.second = second_param
self2.first = first_param