Fix an issue with type vars

This commit is contained in:
Dave Halter
2018-09-22 21:00:42 +02:00
parent 389d4e3d9c
commit 994e7d1910
7 changed files with 63 additions and 61 deletions
+1 -1
View File
@@ -406,7 +406,7 @@ class TypeVar(_BaseTypingContext):
return ContextSet.from_sets(
l.infer() for l in self._constraints_lazy_contexts
)
debug.warning('Tried to infer the TypeVar %r without a given type', self._var_name)
debug.warning('Tried to infer the TypeVar %s without a given type', self._var_name)
return NO_CONTEXTS
@property