Skip to content

Commit 81c57e3

Browse files
committed
fix(comment): #1283 (comment)
1 parent afb5729 commit 81c57e3

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

pandas-stubs/core/frame.pyi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -443,7 +443,7 @@ class DataFrame(NDFrame, OpsMixin, _GetItemHack):
443443
self,
444444
orient: Literal["index"],
445445
*,
446-
into: MutableMapping | type[MutableMapping],
446+
into: type[MutableMapping],
447447
index: Literal[True] = ...,
448448
) -> MutableMapping[Hashable, dict[Hashable, Any]]: ...
449449
@overload

tests/test_frame.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3681,7 +3681,7 @@ def test_to_dict_into_defaultdict() -> None:
36813681
tuple,
36823682
)
36833683
check(
3684-
assert_type( # type: ignore[assert-type]
3684+
assert_type(
36853685
data.to_dict("index", into=target),
36863686
defaultdict[Hashable, dict[Hashable, Any]],
36873687
),

0 commit comments

Comments
 (0)