Issue 10899: Remove function type annotations from the stdlib

This commit is contained in:
Raymond Hettinger 2011-01-13 19:08:04 +00:00
parent cbb80896ae
commit d958ea70bc
2 changed files with 24 additions and 18 deletions

View file

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