Skip to content

Commit 65edb21

Browse files
authored
Revert "Fixing error message to match new typeshed stub (#6469)" (#6489)
This reverts commit 759ff9f. Reverts #6469 See python/typeshed#2817 for motivation.
1 parent 0c7d4c2 commit 65edb21

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test-data/unit/pythoneval.test

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1054,7 +1054,7 @@ _testTypedDictGet.py:9: error: TypedDict "D" has no key 'z'
10541054
_testTypedDictGet.py:10: error: All overload variants of "get" of "Mapping" require at least one argument
10551055
_testTypedDictGet.py:10: note: Possible overload variants:
10561056
_testTypedDictGet.py:10: note: def get(self, k: str) -> object
1057-
_testTypedDictGet.py:10: note: def [_T] get(self, k: str, default: _T) -> object
1057+
_testTypedDictGet.py:10: note: def [_T] get(self, k: str, default: object) -> object
10581058
_testTypedDictGet.py:12: error: Revealed type is 'builtins.object*'
10591059

10601060
[case testTypedDictMappingMethods]

0 commit comments

Comments
 (0)