[issue44640] Typos in error messages of isinstance() & issubclass()

2021-07-14 Thread wyz23x2
wyz23x2 added the comment: Changed to only 2). -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue44640] Typos in error messages of isinstance() & issubclass()

2021-07-14 Thread Jack DeVries
Jack DeVries added the comment: The current string is correct. The word "union" is actually an exception to the "a/an" rule. Here is more detail: https://english.stackexchange.com/questions/266309/why-is-union-an-exception-to-the-a-an-rule -- nosy: +jack__d

[issue44640] Typos in error messages of isinstance() & issubclass()

2021-07-14 Thread wyz23x2
Change by wyz23x2 : -- keywords: +patch pull_requests: +25686 stage: -> patch review pull_request: https://github.com/python/cpython/pull/27144 ___ Python tracker ___

[issue44640] Typos in error messages of isinstance() & issubclass()

2021-07-14 Thread wyz23x2
New submission from wyz23x2 : >>> 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,