Message317865
This will break the following case:
def geterrmsg(n):
return ('function doesn't have arguments' if n == 0 else
'function have a single argument' if n == 1 else
'function have %d arguments')
print(geterrmsg(n).format(n))
Actually geterrmsg() can take the error message from a translations database, and the number of different cases can be dependent on the language. |
|
Date |
User |
Action |
Args |
2018-05-28 15:13:43 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, xiang.zhang |
2018-05-28 15:13:43 | serhiy.storchaka | set | messageid: <1527520423.68.0.682650639539.issue33669@psf.upfronthosting.co.za> |
2018-05-28 15:13:43 | serhiy.storchaka | link | issue33669 messages |
2018-05-28 15:13:43 | serhiy.storchaka | create | |
|