mirror of https://github.com/python/cpython
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.
This commit is contained in:
parent
9f5c36fddb
commit
8b3282be9f
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue