Skip to content

CLN: Use of Iterable from collections.abc instead of typing.Iterable #30427

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

Merged
merged 2 commits into from
Dec 24, 2019

Conversation

ShaharNaveh
Copy link
Member

@ShaharNaveh ShaharNaveh commented Dec 23, 2019

  • closes #xxxx
  • tests added / passed
  • passes black pandas
  • passes git diff upstream/master -u -- "*.py" | flake8 --diff
  • whatsnew entry

@jreback jreback added the Typing type annotations, mypy/pyright type checking label Dec 23, 2019
@jreback jreback added this to the 1.0 milestone Dec 23, 2019
@jreback
Copy link
Contributor

jreback commented Dec 23, 2019

looks fine, @WillAyd, @simonjayhawkins did we need something else besides this?

@simonjayhawkins
Copy link
Member

I think the intention here was to use typing.collection https://docs.python.org/3/library/typing.html#typing.Collection which was added in 3.6 as opposed to using Iterable from collections.

@WillAyd WillAyd merged commit e76fd2d into pandas-dev:master Dec 24, 2019
@WillAyd
Copy link
Member

WillAyd commented Dec 24, 2019

Thanks @MomIsBestFriend

@ShaharNaveh ShaharNaveh deleted the CLN-_typing branch December 24, 2019 16:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Typing type annotations, mypy/pyright type checking
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants