commit | 7ca9a1a466992e556b3192a7a0ba8baa652e342a | [log] [tgz] |
---|---|---|
author | Guido van Rossum <guido@python.org> | Wed Sep 09 14:07:06 1998 +0000 |
committer | Guido van Rossum <guido@python.org> | Wed Sep 09 14:07:06 1998 +0000 |
tree | 2c69ff8adee11493c7e176a7e19df60fe20a6fab | |
parent | 76d1f96fe2bf905288ac8c4ef991302f5aeb695a [diff] |
Fix a bug where comparison of a rational with a float failed because the difference got converted to float. Put brackets around the string representation of (non-integer) rationals. (Sjoerd Mullender.)