From c185ea571b9f6368c0d3e47a0bc93f508d58ac13 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A1s=20Veres-Szentkir=C3=A1lyi?= Date: Tue, 23 Feb 2016 16:21:30 +0100 Subject: [PATCH] codegen: use NotImplementedError --- pysstv/examples/codegen.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pysstv/examples/codegen.py b/pysstv/examples/codegen.py index 2e82854..9f4eeee 100644 --- a/pysstv/examples/codegen.py +++ b/pysstv/examples/codegen.py @@ -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)))