Skip to content

CLN: fixup duplicated getitem call from GH-44624 #44781

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conversation

jorisvandenbossche
Copy link
Member

Small oversight from #44624

@jorisvandenbossche jorisvandenbossche merged commit c1c202c into pandas-dev:master Dec 6, 2021
@jorisvandenbossche jorisvandenbossche deleted the fixup-datetimelike-getitem branch December 6, 2021 09:09
@@ -338,7 +338,6 @@ def __getitem__(
result = cast(
"Union[DatetimeLikeArrayT, DTScalarOrNaT]", super().__getitem__(key)
)
result = super().__getitem__(key)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this didn't change any tests?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Because it is the same line as the one above (just without the cast)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants