More unit tests
[codimension.git] / pythonparser-exp / unittest / class_members.py
blob5aa3f615a6654d558e93256a0bbb7cd9f7b47ec8
2 class C:
3 def __init__( self ):
4 self.a = 1
5 self.b = 2
6 print "some"
8 def f( cls ):
9 cls.c = 3
10 cls.d, cls.e = 4, 5
12 def g():
13 self.l = 0
14 self.k = 6
16 class D:
17 class E:
18 def __init__( s ):
19 s.m = 0
20 (s.n, s.o) = 7, 8
21 s.jjj[45] = 732 # Must not appear, that's usage
22 (s.z.p) = 999 # Must not appear, that's usage
24 class F:
26 @staticmethod
27 def method( first ):
28 first.one = 9
29 first.two = 10