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
cbb80896ae
commit
d958ea70bc
2 changed files with 24 additions and 18 deletions
|
@ -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.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue