Skip to content

Commit c1c202c

Browse files
CLN: fixup duplicated getitem call from GH-44624 (#44781)
1 parent 097322f commit c1c202c

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

pandas/core/arrays/datetimelike.py

-1
Original file line numberDiff line numberDiff line change
@@ -338,7 +338,6 @@ def __getitem__(
338338
result = cast(
339339
"Union[DatetimeLikeArrayT, DTScalarOrNaT]", super().__getitem__(key)
340340
)
341-
result = super().__getitem__(key)
342341
if lib.is_scalar(result):
343342
return result
344343
else:

0 commit comments

Comments
 (0)