diff options
author | Raymond Hettinger <python@rcn.com> | 2011-01-13 19:08:04 (GMT) |
---|---|---|
committer | Raymond Hettinger <python@rcn.com> | 2011-01-13 19:08:04 (GMT) |
commit | d958ea70bc20a609c8d6a885998bfa8ffeff955b (patch) | |
tree | 2b7ab88e4abc9922472ab78af37cf74949696f34 /Lib/importlib/_bootstrap.py | |
parent | cbb80896ae8202842cb83cf6ccc53b023270b550 (diff) | |
download | cpython-d958ea70bc20a609c8d6a885998bfa8ffeff955b.zip cpython-d958ea70bc20a609c8d6a885998bfa8ffeff955b.tar.gz cpython-d958ea70bc20a609c8d6a885998bfa8ffeff955b.tar.bz2 |
Issue 10899: Remove function type annotations from the stdlib
Diffstat (limited to 'Lib/importlib/_bootstrap.py')
-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 ab1082d..cd7f5d6 100644 --- a/Lib/importlib/_bootstrap.py +++ b/Lib/importlib/_bootstrap.py @@ -346,8 +346,8 @@ class _LoaderBasics: class SourceLoader(_LoaderBasics): def path_mtime(self, path): - """Optional method that returns the modification time for the specified - path. + """Optional method that returns the modification time (an int) for the + specified path, where path is a str. Implementing this method allows the loader to read bytecode files. @@ -355,7 +355,7 @@ class SourceLoader(_LoaderBasics): raise NotImplementedError def set_data(self, path, data): - """Optional method which writes data to a file path. + """Optional method which writes data (bytes) to a file path (a str). Implementing this method allows for the writing of bytecode files. |