diff options
author | Philip Jenvey <pjenvey@underboss.org> | 2012-08-10 23:21:35 (GMT) |
---|---|---|
committer | Philip Jenvey <pjenvey@underboss.org> | 2012-08-10 23:21:35 (GMT) |
commit | 688a551ca075ed28126e11b5935ed0649d1e3b83 (patch) | |
tree | f2965b436d37b4ff9390f787170bf8e1459e689f /Lib/importlib | |
parent | 522267e7845becb76e0e1cbaa875ad0da9fd58cc (diff) | |
download | cpython-688a551ca075ed28126e11b5935ed0649d1e3b83.zip cpython-688a551ca075ed28126e11b5935ed0649d1e3b83.tar.gz cpython-688a551ca075ed28126e11b5935ed0649d1e3b83.tar.bz2 |
fix docstring wording
Diffstat (limited to 'Lib/importlib')
-rw-r--r-- | Lib/importlib/_bootstrap.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Lib/importlib/_bootstrap.py b/Lib/importlib/_bootstrap.py index 34d54bb..c0b1a5a 100644 --- a/Lib/importlib/_bootstrap.py +++ b/Lib/importlib/_bootstrap.py @@ -731,7 +731,7 @@ class FrozenImporter: @classmethod @_requires_frozen def is_package(cls, fullname): - """Return if the frozen module is a package.""" + """Return True if the frozen module is a package.""" return _imp.is_frozen_package(fullname) @@ -1025,7 +1025,7 @@ class SourceFileLoader(FileLoader, SourceLoader): """Concrete implementation of SourceLoader using the file system.""" def path_stats(self, path): - """Return the metadat for the path.""" + """Return the metadata for the path.""" st = _os.stat(path) return {'mtime': st.st_mtime, 'size': st.st_size} @@ -1117,7 +1117,7 @@ class ExtensionFileLoader: raise def is_package(self, fullname): - """Return if the extension module is a package.""" + """Return True if the extension module is a package.""" file_name = _path_split(self.path)[1] return any(file_name == '__init__' + suffix for suffix in EXTENSION_SUFFIXES) |