mirror of
https://github.com/python/cpython.git
synced 2025-09-07 17:32:01 +00:00
#11515: Merge with 3.1.
This commit is contained in:
commit
4969f709cc
49 changed files with 58 additions and 58 deletions
|
@ -152,7 +152,7 @@ def _check_name(method):
|
|||
loader can handle.
|
||||
|
||||
The first argument (self) must define _name which the second argument is
|
||||
comapred against. If the comparison fails then ImportError is raised.
|
||||
compared against. If the comparison fails then ImportError is raised.
|
||||
|
||||
"""
|
||||
def inner(self, name, *args, **kwargs):
|
||||
|
@ -304,7 +304,7 @@ class _LoaderBasics:
|
|||
|
||||
def _bytes_from_bytecode(self, fullname, data, source_mtime):
|
||||
"""Return the marshalled bytes from bytecode, verifying the magic
|
||||
number and timestamp alon the way.
|
||||
number and timestamp along the way.
|
||||
|
||||
If source_mtime is None then skip the timestamp check.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue