Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Tweak comment
  • Loading branch information
Ivan Levkivskyi
Ivan Levkivskyi committed Aug 22, 2019
commit 4b9dfcf1a984865de78ca18b41178f60c6177ebf
2 changes: 1 addition & 1 deletion python2/typing.py
Original file line number Diff line number Diff line change
Expand Up @@ -1394,7 +1394,7 @@ def __getitem__(self, params):
def __subclasscheck__(self, cls):
if self.__origin__ is not None:
# These should only be modules within the standard library.
# singledispatch is the only exception, because it's a Python 2 backport
# singledispatch is an exception, because it's a Python 2 backport
# of functools.singledispatch.
whitelist = ['abc', 'functools', 'singledispatch']
if (sys._getframe(1).f_globals['__name__'] in whitelist or
Expand Down