~ubuntu-branches/ubuntu/trusty/pyx/trusty

« back to all changes in this revision

Viewing changes to pyx/graph/axis/tick.py

  • Committer: Bazaar Package Importer
  • Author(s): Stuart Prescott
  • Date: 2009-10-29 23:47:39 UTC
  • mfrom: (5.1.3 sid)
  • Revision ID: james.westby@ubuntu.com-20091029234739-cc178gmb3vp5828t
Tags: 0.10-1
* New maintainer (closes: #552750).
* Revert unneeded versioned build-dependency on python-all-dev.
* Add a preinst script to clean up after python-central (working around
  bug #479852 in python-central) (closes: #553271).
* Convert packaging to quilt.

Show diffs side-by-side

added added

removed removed

Lines of Context:
180
180
    def __div__(self, other):
181
181
        return rational((self.num * other.denom, self.denom * other.num))
182
182
 
 
183
    __truediv__ = __div__
 
184
 
183
185
    def __idiv__(self, other):
184
186
        self.num *= other.denom
185
187
        self.denom *= other.num