mirror of
https://github.com/dnet/pySSTV.git
synced 2026-04-05 06:15:19 +00:00
codegen: use NotImplementedError
This commit is contained in:
parent
f295a07c83
commit
c185ea571b
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue