bpo-15999: Clean up of handling boolean arguments. (GH-15610)
* Use the 'p' format unit instead of manually called PyObject_IsTrue(). * Pass boolean value instead 0/1 integers to functions that needs boolean. * Convert some arguments to boolean only once.
S
Serhiy Storchaka committed
1f21eaa15e8a0d2b0f78d0e3f2b9e5b458eb0a70
Parent: 5eca7f3
Committed by GitHub <noreply@github.com>
on 9/1/2019, 9:16:51 AM