mirror of
https://github.com/dnet/pySSTV.git
synced 2025-12-06 07:12:00 +01:00
codegen: use NotImplementedError
This commit is contained in:
parent
f295a07c83
commit
c185ea571b
|
|
@ -14,7 +14,7 @@ class Image(object):
|
|||
elif isinstance(item, int):
|
||||
return Image('{0} + RGB({1})]'.format(self.content, item))
|
||||
else:
|
||||
raise NotImplemented
|
||||
raise NotImplementedError()
|
||||
|
||||
def __rmul__(self, n):
|
||||
return Image('({1} * {0})'.format(self.content, float(n)))
|
||||
|
|
|
|||
Loading…
Reference in a new issue