summaryrefslogtreecommitdiff
path: root/astroid/helpers.py
diff options
context:
space:
mode:
Diffstat (limited to 'astroid/helpers.py')
-rw-r--r--astroid/helpers.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/astroid/helpers.py b/astroid/helpers.py
index 69d6efea..942b0a02 100644
--- a/astroid/helpers.py
+++ b/astroid/helpers.py
@@ -197,7 +197,7 @@ def _type_check(type1, type2):
def is_subtype(type1, type2):
"""Check if *type1* is a subtype of *type2*."""
- return _type_check(type2, type1)
+ return _type_check(type1=type2, type2=type1)
def is_supertype(type1, type2):