X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=python%2Frational.py;h=f2d8360fb8004e4eb1b67ba8bec768dad08e2cd8;hb=90e4d7057f3857da049dfda3d130017d4719bd6b;hp=5a9ee629b3bcdc56328f9ecc9b9a4951d4fabe56;hpb=51748b4b3ecfcdc74c36e2ba748ae294a4d84f9e;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: