File: gmpy_truediv.py

package info (click to toggle)
python-gmpy 1.15-1
  • links: PTS
  • area: main
  • in suites: jessie, jessie-kfreebsd, wheezy
  • size: 768 kB
  • ctags: 739
  • sloc: ansic: 9,767; python: 5,627; makefile: 38
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