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 alexpovel
Recipients alexpovel, docs@python
Date 2020-05-01.18:28:34
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1588357714.64.0.482700195727.issue40471@roundup.psfhosted.org>
In-reply-to
Content
Running `python -c "help(issubclass)"` will output:

  > Help on built-in function issubclass in module builtins:
  > 
  > issubclass(cls, class_or_tuple, /)
  >     Return whether 'cls' is a derived from another class or is the same class.
  >     
  >     A tuple, as in ``issubclass(x, (A, B, ...))``, may be given as the target to
  >     check against. This is equivalent to ``issubclass(x, A) or issubclass(x, B)
  >     or ...`` etc.

where it should probably read:

> Return whether 'cls' is derived from another class or is the same class.

over the current:

> Return whether 'cls' is a derived from another class or is the same class.

There are two occurrences of this string, one in `./Python/bltinmodule.c`, the other in `./Python/clinic/bltinmodule.c.h`.
I have to admit I cannot safely say which of these is the generated file through Argument Clinic and which is the source.
Is `./Python/bltinmodule.c` the source, aka where this would need to be changed?

Please let me know and I will create a PR.

Thanks!
History
Date User Action Args
2020-05-01 18:28:34alexpovelsetrecipients: + alexpovel, docs@python
2020-05-01 18:28:34alexpovelsetmessageid: <1588357714.64.0.482700195727.issue40471@roundup.psfhosted.org>
2020-05-01 18:28:34alexpovellinkissue40471 messages
2020-05-01 18:28:34alexpovelcreate