mirror of
https://github.com/python/cpython.git
synced 2025-10-09 16:34:44 +00:00
Typo.
This commit is contained in:
parent
dbdc3db534
commit
38f75cbc00
1 changed files with 2 additions and 2 deletions
|
@ -33,7 +33,7 @@ class Loader(metaclass=abc.ABCMeta):
|
||||||
The fullname is a str."""
|
The fullname is a str."""
|
||||||
raise NotImplementedError
|
raise NotImplementedError
|
||||||
|
|
||||||
@abs.abstractmethod
|
@abc.abstractmethod
|
||||||
def module_repr(self, module):
|
def module_repr(self, module):
|
||||||
"""Abstract method which when implemented calculates and returns the
|
"""Abstract method which when implemented calculates and returns the
|
||||||
given module's repr."""
|
given module's repr."""
|
||||||
|
@ -44,7 +44,7 @@ class Finder(metaclass=abc.ABCMeta):
|
||||||
|
|
||||||
"""Abstract base class for import finders."""
|
"""Abstract base class for import finders."""
|
||||||
|
|
||||||
@abs.abstractmethod
|
@abc.abstractmethod
|
||||||
def find_loader(self, fullname):
|
def find_loader(self, fullname):
|
||||||
"""Abstract method which when implemented returns a module loader.
|
"""Abstract method which when implemented returns a module loader.
|
||||||
The fullname is a str. Returns a 2-tuple of (Loader, portion) where
|
The fullname is a str. Returns a 2-tuple of (Loader, portion) where
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue