Skip to content

Commit daf3a26

Browse files
committed
IMP raise not implemented exception instead of returning value
1 parent 2c651e4 commit daf3a26

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

pyPostcode/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ def __init__(self, data):
125125
self._data = data
126126

127127
def not_implemented(self):
128-
return NotImplemented
128+
raise NotImplementedError
129129

130130
street = property(not_implemented)
131131
house_number = property(not_implemented)

0 commit comments

Comments
 (0)