We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1ce4222 commit a657792Copy full SHA for a657792
src/graphql/pyutils/is_iterable.py
@@ -7,7 +7,7 @@
7
collection_types: Any = [Collection]
8
if not isinstance({}.values(), Collection): # Python < 3.7.2
9
collection_types.append(ValuesView)
10
-if not isinstance(array, Collection): # PyPy issue 3820
+if not issubclass(array, Collection): # PyPy <= 7.3.9
11
collection_types.append(array)
12
collection_types = (
13
collection_types[0] if len(collection_types) == 1 else tuple(collection_types)
0 commit comments