summaryrefslogtreecommitdiffstats
path: root/Lib/importlib/_bootstrap.py
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2011-01-13 02:31:25 (GMT)
committerRaymond Hettinger <python@rcn.com>2011-01-13 02:31:25 (GMT)
commitcd92f37582865fe7d6ef6477344a7759f839a29e (patch)
treeb127dca44008c59b331ee0267940d92c6f8d6b13 /Lib/importlib/_bootstrap.py
parent3c94024c3e0f9e4f7ba72336ef458ccc6b295596 (diff)
downloadcpython-cd92f37582865fe7d6ef6477344a7759f839a29e.zip
cpython-cd92f37582865fe7d6ef6477344a7759f839a29e.tar.gz
cpython-cd92f37582865fe7d6ef6477344a7759f839a29e.tar.bz2
Issue 10899: Remove function type annotations from the stdlib
Diffstat (limited to 'Lib/importlib/_bootstrap.py')
-rw-r--r--Lib/importlib/_bootstrap.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/importlib/_bootstrap.py b/Lib/importlib/_bootstrap.py
index 9e54554..ab1082d 100644
--- a/Lib/importlib/_bootstrap.py
+++ b/Lib/importlib/_bootstrap.py
@@ -345,7 +345,7 @@ class _LoaderBasics:
class SourceLoader(_LoaderBasics):
- def path_mtime(self, path:str) -> int:
+ def path_mtime(self, path):
"""Optional method that returns the modification time for the specified
path.
@@ -354,7 +354,7 @@ class SourceLoader(_LoaderBasics):
"""
raise NotImplementedError
- def set_data(self, path:str, data:bytes) -> None:
+ def set_data(self, path, data):
"""Optional method which writes data to a file path.
Implementing this method allows for the writing of bytecode files.