1
0
forked from VimPlug/jedi

Fix some signature matching for methods

This commit is contained in:
Dave Halter
2018-09-18 23:48:26 +02:00
parent 1b11162132
commit 57fa5f5bd9
6 changed files with 28 additions and 19 deletions

View File

@@ -506,9 +506,9 @@ class _AbstractAnnotatedClass(ClassContext):
if self.tree_node != other.tree_node:
# TODO not sure if this is nice.
return False
given_params1 = self.get_given_types()
given_params2 = other.get_given_types()
if len(given_params1) != len(given_params2):
# If the amount of type vars doesn't match, the class doesn't
# match.