Message342872
Since __calc_am_pm() explicitly limits self.am_pm to 2 values, there are only ever 3 possible values of %p: AM, PM, or blank. Since blank is treated the same as AM, there is only the need to check whether %p is PM. This eliminates an unnecessary comparison and doubly ensures that there is no unhandled case. |
|
Date |
User |
Action |
Args |
2019-05-19 21:24:06 | gphemsley | set | recipients:
+ gphemsley, p-ganssle |
2019-05-19 21:24:06 | gphemsley | set | messageid: <1558301046.43.0.242836736511.issue36967@roundup.psfhosted.org> |
2019-05-19 21:24:06 | gphemsley | link | issue36967 messages |
2019-05-19 21:24:06 | gphemsley | create | |
|