Skip to content

Commit f1d7b11

Browse files
committed
Docstring cleanup
1 parent c29cb41 commit f1d7b11

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

Lib/importlib/abc.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ def find_loader(self, fullname):
7171
a possible part of a namespace.
7272
The fullname is a str. Returns a 2-tuple of (Loader, portion) where
7373
portion is a sequence of file system locations contributing to part of
74-
a namespace package. The sequence may be empty and the loader may be
74+
a namespace package. The sequence may be empty and the loader may be
7575
None.
7676
"""
7777
return None, []
@@ -108,7 +108,8 @@ def load_module(self, fullname):
108108
def module_repr(self, module):
109109
"""Return a module's repr.
110110
111-
Used by the module type when implemented without raising an exception.
111+
Used by the module type when the method does not raise
112+
NotImplementedError.
112113
"""
113114
raise NotImplementedError
114115

0 commit comments

Comments
 (0)