Issue 10899: Remove function type annotations from the stdlib

This commit is contained in:
Raymond Hettinger 2011-01-13 02:31:25 +00:00
parent 3c94024c3e
commit cd92f37582
2 changed files with 15 additions and 15 deletions

View file

@ -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.