STINNER Victor <[email protected]> added the comment:

Does someone want to propose a PR to modify fractions.Fraction.__bool__() to 
use "return bool(a._numerator)"?

----------
keywords: +newcomer friendly
versions:  -Python 3.5, Python 3.6, Python 3.7, Python 3.8

_______________________________________
Python tracker <[email protected]>
<https://bugs.python.org/issue39274>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to