X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=python%2Frational.py;h=f2d8360fb8004e4eb1b67ba8bec768dad08e2cd8;hb=212ca268e813cd72eca8c07e714e1b6669cba747;hp=5a9ee629b3bcdc56328f9ecc9b9a4951d4fabe56;hpb=25f4cc8fa854c2797d86759d2cd3c3d79e21ccc3;p=lilypond.git diff --git a/python/rational.py b/python/rational.py index 5a9ee629b3..f2d8360fb8 100644 --- a/python/rational.py +++ b/python/rational.py @@ -51,10 +51,10 @@ class Rational(object): self._d = -self._d def numerator(self): - return self._n + return self._n def denominator(self): - return self._d + return self._d def __repr__(self): if self._d == 1: