diff options
author | Guido van Rossum <guido@python.org> | 1998-06-29 20:32:57 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1998-06-29 20:32:57 (GMT) |
commit | 8b3282be9f6c747abdf9ae3da5c8590962c7a8e6 (patch) | |
tree | 54ba2dfdb78c625a1f4f28f69d7ca738966de1e8 /Lib/rexec.py | |
parent | 9f5c36fddb83a761470f42e88934b396d7af4407 (diff) | |
download | cpython-8b3282be9f6c747abdf9ae3da5c8590962c7a8e6.zip cpython-8b3282be9f6c747abdf9ae3da5c8590962c7a8e6.tar.gz cpython-8b3282be9f6c747abdf9ae3da5c8590962c7a8e6.tar.bz2 |
For completeness, add a dummy load_package() method to RHooks. It
should never be called, so this isn't really needed, but this
signifies that rexec now supports packages -- because ihooks does.
Diffstat (limited to 'Lib/rexec.py')
-rw-r--r-- | Lib/rexec.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/rexec.py b/Lib/rexec.py index 32735bd..c3782c3 100644 --- a/Lib/rexec.py +++ b/Lib/rexec.py @@ -92,6 +92,7 @@ class RHooks(ihooks.Hooks): def init_frozen(self, name): raise SystemError, "don't use this" def load_source(self, *args): raise SystemError, "don't use this" def load_compiled(self, *args): raise SystemError, "don't use this" + def load_package(self, *args): raise SystemError, "don't use this" def load_dynamic(self, name, filename, file): return self.rexec.load_dynamic(name, filename, file) |