Skip to content

Commit

Permalink
Fix broken sys.version_info check in importlib/abc.pyi (#673)
Browse files Browse the repository at this point in the history
Fixes #672.
  • Loading branch information
elazarg authored and gvanrossum committed Nov 9, 2016
1 parent ca98a8e commit dfe4bf0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion stdlib/3/importlib/abc.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ class InspectLoader(Loader):
def get_source(self, fullname: str) -> Optional[str]: ...
if sys.version_info >= (3, 4):
def exec_module(self, module: types.ModuleType) -> None: ...
if sys.version_info == (3, 4):
if sys.version_info[:2] == (3, 4):
def source_to_code(self, data: Union[bytes, str],
path: str = '<string>') -> types.CodeType: ...
elif sys.version_info >= (3, 5):
Expand Down

0 comments on commit dfe4bf0

Please sign in to comment.