Skip to content

Commit

Permalink
Silence mypy
Browse files Browse the repository at this point in the history
  • Loading branch information
Cito committed Jul 18, 2019
1 parent 8c2483c commit e94a8ae
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions graphql/pyutils/compat.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
advance_iterator = next
except NameError:

def advance_iterator(it):
def advance_iterator(it): # type: ignore
return it.next()


Expand All @@ -65,7 +65,7 @@ def advance_iterator(it):
callable = callable # type: Callable
except NameError:

def callable(obj):
def callable(obj): # type: ignore
return any("__call__" in klass.__dict__ for klass in type(obj).__mro__)


Expand Down

0 comments on commit e94a8ae

Please sign in to comment.