1
0
forked from VimPlug/jedi

TypedDictBase -> TypedDictClass

This commit is contained in:
Dave Halter
2020-05-10 03:17:07 +02:00
parent d0270b5e59
commit e9a0c01af8
2 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -85,7 +85,7 @@ class TypingModuleName(NameWrapper):
elif name == 'TypedDict':
# TODO doesn't even exist in typeshed/typing.py, yet. But will be
# added soon.
yield TypedDictBase.create_cached(
yield TypedDictClass.create_cached(
inference_state, self.parent_context, self.tree_name)
elif name in ('no_type_check', 'no_type_check_decorator'):
# This is not necessary, as long as we are not doing type checking.
@@ -416,7 +416,7 @@ class CastFunction(BaseTypingValue):
return type_value_set.execute_annotation()
class TypedDictBase(BaseTypingValue):
class TypedDictClass(BaseTypingValue):
"""
This class has no responsibilities and is just here to make sure that typed
dicts can be identified.