commit | 1f21eaa15e8a0d2b0f78d0e3f2b9e5b458eb0a70 | [log] [tgz] |
---|---|---|
author | Serhiy Storchaka <storchaka@gmail.com> | Sun Sep 01 12:16:51 2019 +0300 |
committer | GitHub <noreply@github.com> | Sun Sep 01 12:16:51 2019 +0300 |
tree | 8db3de2421c1d45d018a7a1dc03f42a0797acee2 | |
parent | 5eca7f3f3836cc734dfe8dc5ec669f3b4e9333fe [diff] |
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.