mirror of https://github.com/python/cpython
Clarify importlib.abc.PyPycLoader.write_bytecode().
This commit is contained in:
parent
6b7dfc924d
commit
b89ee8eae8
|
@ -132,7 +132,8 @@ class PyPycLoader(_bootstrap.PyPycLoader, PyLoader):
|
||||||
raise NotImplementedError
|
raise NotImplementedError
|
||||||
|
|
||||||
@abc.abstractmethod
|
@abc.abstractmethod
|
||||||
def write_bytecode(self, fullname:str, bytecode:bytes):
|
def write_bytecode(self, fullname:str, bytecode:bytes) -> bool:
|
||||||
"""Abstract method which when implemented should attempt to write the
|
"""Abstract method which when implemented should attempt to write the
|
||||||
bytecode for the module."""
|
bytecode for the module, returning a boolean representing whether the
|
||||||
|
bytecode was written or not."""
|
||||||
raise NotImplementedError
|
raise NotImplementedError
|
||||||
|
|
Loading…
Reference in New Issue