Skip to content
This repository was archived by the owner on May 31, 2025. It is now read-only.

Implement mod and divmod for durations#61

Closed
eric-wieser wants to merge 1 commit intoros:kinetic-develfrom
eric-wieser:duration-mod
Closed

Implement mod and divmod for durations#61
eric-wieser wants to merge 1 commit intoros:kinetic-develfrom
eric-wieser:duration-mod

Conversation

@eric-wieser
Copy link
Copy Markdown
Contributor

And fix __floordiv__ to return integers not floats, to match datetime.timedelta

And fix them to return integers not floats for floor division, to match `datetime.timedelta`
@dirk-thomas
Copy link
Copy Markdown
Member

Thank you for the patch. Merged to kinetic-devel in #63.

@dirk-thomas dirk-thomas closed this Jul 8, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants