
Sorry, but your Python docs are shot through with inaccurate staements as far as I can tell. For example, on this page https://docs.python.org/3/library/functions.html arguments for some functions (endswith, for example) are described as "substring" and "character," when they actually just take strings (or tuples of strings). When your description says that I need to use a "character" where I where I remember using a string in the past, I have to go check documentation on other sites to see if it's accurate. If I have to double-check your docs, what good are they? I'll just use a different site that is more reliable. python.org's docs should be bullet-proof and authoritative, not loosey-goosey. Sincerely, Dan Lokemoen

Hello, Thanks for reporting an issue, but I don't see `endswith` on the page that you linked, and the documentation for `endswith` ([1], [2]) does not mention "substring" or "character", and does mention tuples. Were you looking at a different page? [1]: https://docs.python.org/3/library/stdtypes.html#str.endswith [2]: https://docs.python.org/3/library/stdtypes.html#bytes.endswith On 04. 09. 23 23:49, Chaos Ordeal wrote:
Sorry, but your Python docs are shot through with inaccurate staements as far as I can tell.
For example, on this page https://docs.python.org/3/library/functions.html <https://docs.python.org/3/library/functions.html> arguments for some functions (endswith, for example) are described as "substring" and "character," when they actually just take strings (or tuples of strings). When your description says that I need to use a "character" where I where I remember using a string in the past, I have to go check documentation on other sites to see if it's accurate. If I have to double-check your docs, what good are they? I'll just use a different site that is more reliable.
python.org <http://python.org>'s docs should be bullet-proof and authoritative, not loosey-goosey.
Sincerely, Dan Lokemoen
_______________________________________________ docs mailing list -- docs@python.org To unsubscribe send an email to docs-leave@python.org https://mail.python.org/mailman3/lists/docs.python.org/ Member address: encukou@gmail.com
participants (2)
-
Chaos Ordeal
-
Petr Viktorin