File: gmpy_truediv.py

package info (click to toggle)
python-gmpy2 2.0.3-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 1,628 kB
  • ctags: 1,123
  • sloc: ansic: 21,036; python: 5,846; makefile: 163
file content (5 lines) | stat: -rw-r--r-- 126 bytes parent folder | download | duplicates (13)
1
2
3
4
5
''' make a "true division" function available for testing '''

from __future__ import division

def truediv(a, b): return a/b