QuotationError.__init__()   A
last analyzed

Complexity

Conditions 1

Size

Total Lines 3

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 1
CRAP Score 1.2963

Importance

Changes 0
Metric Value
cc 1
c 0
b 0
f 0
dl 0
loc 3
ccs 1
cts 3
cp 0.3333
crap 1.2963
rs 10
1 1
class GrammaticalError(Exception):
2 1
    def __init__(self, expression, message):
3 1
        self.expression = expression
4 1
        self.message = message
5
6 1
class QuotationError(Exception):
7 1
    def __init__(self, expression, message):
8
        self.expression = expression
9
        self.message = message
10
11
#class NounificationError(Exception):
12
#    def __init__(self, expression, message):
13
#        self.expression = expression
14
#        self.message = message
15