mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
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
1 changed files with 1 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue