Commit 35998a03 authored by Jason Rhinelander's avatar Jason Rhinelander
Browse files

Define both __div__ and __truediv__ for Python 2

Python 2 requires both `__div__` and `__truediv__` (and variants) for
compatibility with both regular Python 2 and Python 2 under `from
__future__ import division`.  Without both, division fails in one or the
other case.
parent 1ac51a02
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment