This commit is contained in:
Barry Warsaw 2012-07-31 16:39:43 -04:00
parent dbdc3db534
commit 38f75cbc00
1 changed files with 2 additions and 2 deletions

View File

@ -33,7 +33,7 @@ class Loader(metaclass=abc.ABCMeta):
The fullname is a str."""
raise NotImplementedError
@abs.abstractmethod
@abc.abstractmethod
def module_repr(self, module):
"""Abstract method which when implemented calculates and returns the
given module's repr."""
@ -44,7 +44,7 @@ class Finder(metaclass=abc.ABCMeta):
"""Abstract base class for import finders."""
@abs.abstractmethod
@abc.abstractmethod
def find_loader(self, fullname):
"""Abstract method which when implemented returns a module loader.
The fullname is a str. Returns a 2-tuple of (Loader, portion) where