Message363933
Oh! I just reead the docs more carefully; they say:
For the '?' format character, the return value is either True or False. When packing, the truth value of the argument object is used. Either 0 or 1 in the native or standard bool representation will be packed, and any non-zero value will be True when unpacking. |
|
Date |
User |
Action |
Args |
2020-03-11 16:29:04 | petr.viktorin | set | recipients:
+ petr.viktorin, gregory.p.smith, mark.dickinson, vstinner, benjamin.peterson, meador.inge, cstratak, ammar2 |
2020-03-11 16:29:04 | petr.viktorin | set | messageid: <1583944144.48.0.859375520849.issue39689@roundup.psfhosted.org> |
2020-03-11 16:29:04 | petr.viktorin | link | issue39689 messages |
2020-03-11 16:29:04 | petr.viktorin | create | |
|