mirror of
https://github.com/python/cpython.git
synced 2025-10-10 00:43:41 +00:00
Docstring cleanup
This commit is contained in:
parent
c29cb41822
commit
f1d7b11db9
1 changed files with 3 additions and 2 deletions
|
@ -71,7 +71,7 @@ class PathEntryFinder(Finder):
|
||||||
a possible part of a namespace.
|
a possible part of a namespace.
|
||||||
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
|
||||||
portion is a sequence of file system locations contributing to part of
|
portion is a sequence of file system locations contributing to part of
|
||||||
a namespace package. The sequence may be empty and the loader may be
|
a namespace package. The sequence may be empty and the loader may be
|
||||||
None.
|
None.
|
||||||
"""
|
"""
|
||||||
return None, []
|
return None, []
|
||||||
|
@ -108,7 +108,8 @@ class Loader(metaclass=abc.ABCMeta):
|
||||||
def module_repr(self, module):
|
def module_repr(self, module):
|
||||||
"""Return a module's repr.
|
"""Return a module's repr.
|
||||||
|
|
||||||
Used by the module type when implemented without raising an exception.
|
Used by the module type when the method does not raise
|
||||||
|
NotImplementedError.
|
||||||
"""
|
"""
|
||||||
raise NotImplementedError
|
raise NotImplementedError
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue