forked from github/codeql
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtest.py
More file actions
65 lines (38 loc) · 895 Bytes
/
test.py
File metadata and controls
65 lines (38 loc) · 895 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
#Useless class
class Useful1(object):
def __init__(self):
pass
def do_something(self):
pass
def do_something_else(self):
pass
def do_yet_another_thing(self):
pass
class Useful2(object):
def do_something(self):
pass
def do_something_else(self):
pass
class Useless1(object):
def __init__(self):
pass
def do_something(self):
pass
class Useless2(object):
def do_something(self):
pass
class Stateful1(object):
def __init__(self):
self.data = []
def do_something(self, x):
self.data.append(x)
class Stateful2(object):
def __init__(self):
self.data = None
def do_something(self, x):
self.data = x
class Inherited(object):
pass
class Inherits(Inherited):
def do_something(self):
pass