diff options
author | Behnam Esfahbod ZWNJ <behnam@zwnj.org> | 2010-09-26 01:25:02 +0330 |
---|---|---|
committer | John Stowers <john.stowers@gmail.com> | 2010-09-28 11:02:21 +1300 |
commit | 22eab483d430e3fb5922edf4ab24fe6ed3590e7f (patch) | |
tree | 8e4dd09192c7ce47a04b013807f1be2d9725ff83 /examples | |
parent | 765d7baf517a5b197faa741211f86b25d42230b5 (diff) | |
download | pygtk-22eab483d430e3fb5922edf4ab24fe6ed3590e7f.tar.gz |
Replace NotImplemented with NotImplementedError
Diffstat (limited to 'examples')
-rw-r--r-- | examples/gtk/application.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/examples/gtk/application.py b/examples/gtk/application.py index 10f0ea2f..5d654288 100644 --- a/examples/gtk/application.py +++ b/examples/gtk/application.py @@ -148,19 +148,19 @@ class Application(gtk.Window): # Override in subclass def new(self): - raise NotImplemented("Open") + raise NotImplementedError("Open") def open(self): - raise NotImplemented("Open") + raise NotImplementedError("Open") def save(self): - raise NotImplemented("Save") + raise NotImplementedError("Save") def close(self): - raise NotImplemented("Close") + raise NotImplementedError("Close") def about(self): - raise NotImplemented("About") + raise NotImplementedError("About") def run(self): self.show() |