Skip to content

Commit 7e4ae70

Browse files
committed
-
1 parent 296ccac commit 7e4ae70

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

python_toolbox/third_party/abcs_collection.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -561,7 +561,8 @@ def count(self, value):
561561
def __subclasshook__(cls, subclass_candidate):
562562
# Hacking around a Pypy bug:
563563
if cls is Sequence and \
564-
issubclass(subclass_candidate, (tuple, basestring, buffer, xrange)):
564+
issubclass(subclass_candidate, (tuple, list, basestring, buffer,
565+
xrange)):
565566
return True
566567
else:
567568
return NotImplemented

0 commit comments

Comments
 (0)