mirror of
https://github.com/pybind/pybind11.git
synced 2025-01-19 09:25:51 +00:00
35998a0314
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. |
||
---|---|---|
.. | ||
pybind11 |