Skip to content

Commit e94a8ae

Browse files
committed
Silence mypy
1 parent 8c2483c commit e94a8ae

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

graphql/pyutils/compat.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@
5454
advance_iterator = next
5555
except NameError:
5656

57-
def advance_iterator(it):
57+
def advance_iterator(it): # type: ignore
5858
return it.next()
5959

6060

@@ -65,7 +65,7 @@ def advance_iterator(it):
6565
callable = callable # type: Callable
6666
except NameError:
6767

68-
def callable(obj):
68+
def callable(obj): # type: ignore
6969
return any("__call__" in klass.__dict__ for klass in type(obj).__mro__)
7070

7171

0 commit comments

Comments
 (0)