Message397499
>>> isinstance(2, 1)
Traceback (most recent call last):
...
TypeError: isinstance() arg 2 must be a type, a tuple of types or a union
>>> issubclass(int, 1)
Traceback (most recent call last):
..
TypeError: issubclass() arg 2 must be a class, a tuple of classes, or a union.
1) It should be "an union", not "a union".
2) The punctuation marks aren't the same -- there's a comma before "or" in issubclass, but not isinstance(). And issubclass()'s ends with a period, which isn't the same with other builtins' messages. |
|
Date |
User |
Action |
Args |
2021-07-14 17:40:20 | wyz23x2 | set | recipients:
+ wyz23x2 |
2021-07-14 17:40:20 | wyz23x2 | set | messageid: <1626284420.22.0.865096690123.issue44640@roundup.psfhosted.org> |
2021-07-14 17:40:20 | wyz23x2 | link | issue44640 messages |
2021-07-14 17:40:20 | wyz23x2 | create | |
|