Skip to content

TYP: define RangeIndex methods non-dynamically #36931

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
Oct 8, 2020

Conversation

jbrockmendel
Copy link
Member

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

@jbrockmendel
Copy link
Member Author

(This is the last branch in this sequence for now)

Copy link
Member

@simonjayhawkins simonjayhawkins left a comment

Choose a reason for hiding this comment

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

Thanks @jbrockmendel lgtm.

@simonjayhawkins simonjayhawkins added the Typing type annotations, mypy/pyright type checking label Oct 8, 2020
@simonjayhawkins simonjayhawkins added this to the 1.2 milestone Oct 8, 2020
with np.errstate(all="ignore"):
rstep = step(left.step, right)
try:
# apply if we have an override
Copy link
Contributor

Choose a reason for hiding this comment

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

prob can pull stuff out of this try/except ? followon

@jreback jreback merged commit 91e8bad into pandas-dev:master Oct 8, 2020
@jbrockmendel jbrockmendel deleted the typ-31160 branch October 8, 2020 15:13
kesmit13 pushed a commit to kesmit13/pandas that referenced this pull request Nov 2, 2020
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.

3 participants