SIGN IN SIGN UP
python / cpython UNCLAIMED

The Python programming language

0 0 0 Python

gh-91038: Change default argument value to `False` instead of `0` (#31621)

The argument is used as a switch and corresponds to a boolean logic. Therefore it is more intuitive to use the corresponding constant `False` as default value instead of the integer `0`.

Co-authored-by: Shantanu <12621235+hauntsaninja@users.noreply.github.com>
Co-authored-by: Oleg Iarygin <oleg@arhadthedev.net>
R
Rotzbua committed
f3cb15c88afa2e87067de3c6106664b3f7cd4035
Parent: 8d0f09b
Committed by GitHub <noreply@github.com> on 2/27/2023, 2:10:34 AM