We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 650596a commit b67151bCopy full SHA for b67151b
test-data/unit/pythoneval.test
@@ -1083,8 +1083,8 @@ _testTypedDictGet.py:8: note: Revealed type is 'builtins.str'
1083
_testTypedDictGet.py:9: error: TypedDict "D" has no key 'z'
1084
_testTypedDictGet.py:10: error: All overload variants of "get" of "Mapping" require at least one argument
1085
_testTypedDictGet.py:10: note: Possible overload variants:
1086
-_testTypedDictGet.py:10: note: def get(self, k: str) -> object
1087
-_testTypedDictGet.py:10: note: def [_T] get(self, k: str, default: object) -> object
+_testTypedDictGet.py:10: note: def get(self, key: str) -> object
+_testTypedDictGet.py:10: note: def [_T] get(self, key: str, default: object) -> object
1088
_testTypedDictGet.py:12: note: Revealed type is 'builtins.object*'
1089
1090
[case testTypedDictMappingMethods]
0 commit comments