Wolfgang Maier <wolfgang.ma...@biologie.uni-freiburg.de> added the comment:
That, of course, wasn't my original suggestion, but since Mark started discussing other possible forms this could take, like round-to-nearest analogs of mod and divmod, I thought maybe it's worth pointing out this aspect and, yes, maybe the three-argument form would be nice. Essentially, this would be fractions.Fraction.__round__ then. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue31978> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com