This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author wyz23x2
Recipients wyz23x2
Date 2021-07-14.17:40:20
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1626284420.22.0.865096690123.issue44640@roundup.psfhosted.org>
In-reply-to
Content
>>> 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.
History
Date User Action Args
2021-07-14 17:40:20wyz23x2setrecipients: + wyz23x2
2021-07-14 17:40:20wyz23x2setmessageid: <1626284420.22.0.865096690123.issue44640@roundup.psfhosted.org>
2021-07-14 17:40:20wyz23x2linkissue44640 messages
2021-07-14 17:40:20wyz23x2create