[issue42439] Use of ternary operator instead of if and else in month calculation function

Serhiy Storchaka report at bugs.python.org
Sun Nov 22 15:34:59 EST 2020


Serhiy Storchaka <storchaka+cpython at gmail.com> added the comment:

I concur with Steven. We usually reject pure cosmetic changes. And I do not see any advantages of the new code.

----------
nosy: +serhiy.storchaka
resolution:  -> rejected
stage: patch review -> resolved
status: open -> closed

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue42439>
_______________________________________


More information about the Python-bugs-list mailing list