Passed
Push — master ( cba5ed...7e35c2 )
by Simon
04:17
created

DictClass.__init__()   A

Complexity

Conditions 1

Size

Total Lines 2
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 2
nop 1
dl 0
loc 2
rs 10
c 0
b 0
f 0
1
# Author: Simon Blanke
2
# Email: [email protected]
3
# License: MIT License
4
5
6
class DictClass:
7
    def __init__(self):
8
        self.para_dict = {}
9
10
    def __getitem__(self, key):
11
        return self.para_dict[key]
12
13
    def keys(self):
14
        return self.para_dict.keys()
15
16
    def values(self):
17
        return self.para_dict.values()
18