File tree Expand file tree Collapse file tree
python/ql/test/library-tests/descriptors Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- | 16 | classmethod() | 17 | Function c1 |
2- | 23 | classmethod() | 20 | Function c2 |
3- | 24 | classmethod() | 20 | Function c2 |
4- | 26 | staticmethod() | 27 | Function s1 |
5- | 33 | staticmethod() | 30 | Function s2 |
6- | 34 | staticmethod() | 30 | Function s2 |
1+ | 13 | classmethod() | 14 | Function c1 |
2+ | 20 | classmethod() | 17 | Function c2 |
3+ | 21 | classmethod() | 17 | Function c2 |
4+ | 23 | staticmethod() | 24 | Function s1 |
5+ | 30 | staticmethod() | 27 | Function s2 |
6+ | 31 | staticmethod() | 27 | Function s2 |
Original file line number Diff line number Diff line change 1- | 6 | Property f | 7 | Function f | 11 | Function f |
1+ | 3 | Property f | 4 | Function f | 8 | Function f |
Original file line number Diff line number Diff line change 1-
2-
3-
41class C (object ):
52
63 @property
74 def f (self ):
85 return self ._f
96
107 @f .setter
11- def f (self ):
12- return self ._f
8+ def f (self , value ):
9+ self ._f = value
1310
1411class D (object ):
1512
You can’t perform that action at this time.
0 commit comments