Skip to content

Conversation

jbrockmendel
Copy link
Member

No description provided.

Copy link
Member

@WillAyd WillAyd left a comment

Choose a reason for hiding this comment

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

lgtm

@@ -77,7 +77,7 @@ cdef inline int64_t cast_from_unit(object ts, str unit) except? -1:
return <int64_t>(base * m) + <int64_t>(frac * m)


cpdef inline object precision_from_unit(str unit):
cpdef inline (int64_t, int) precision_from_unit(str unit):
Copy link
Member

Choose a reason for hiding this comment

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

Is this a union of types?

Copy link
Member Author

Choose a reason for hiding this comment

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

no, its returning a tuple

@WillAyd WillAyd added the Clean label Jun 29, 2020
@jreback jreback added the Typing type annotations, mypy/pyright type checking label Jun 29, 2020
@jreback jreback added this to the 1.1 milestone Jun 29, 2020
@jreback jreback merged commit 549b0ff into pandas-dev:master Jun 29, 2020
@jbrockmendel jbrockmendel deleted the cln-follow-3 branch June 29, 2020 23:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Clean Typing type annotations, mypy/pyright type checking
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants