mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
Issue 10899: Remove function type annotations from the stdlib
This commit is contained in:
parent
3c94024c3e
commit
cd92f37582
2 changed files with 15 additions and 15 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue