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.

classification
Title: Py Lib Ref, 3.6.1 String Methods startswith() typo
Type: Stage:
Components: Documentation Versions:
process
Status: closed Resolution: duplicate
Dependencies: Superseder:
Assigned To: Nosy List: arxaaron, georg.brandl
Priority: normal Keywords:

Created on 2007-08-13 07:10 by arxaaron, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Messages (3)
msg32634 - (view) Author: arxaaron (arxaaron) Date: 2007-08-13 07:10
Python Library Reference
Section 3.6.1 "String Methods"

=====
startswith(prefix[, start[, end]])
    Return True if string starts with the prefix, otherwise return False. prefix can also be a tuple of __suffixes__ to look for. With optional start, test string beginning at that position. With optional end, stop comparing string at that position.
=====

...Believe "suffixes" should be corrected to "prefixes"

(Likely a copy and paste oversight from the description for mirror method " endswith(suffix[, start[, end]])")

Typo report of Jan. 2007 noted as closed, but error is still present.


msg32635 - (view) Author: Georg Brandl (georg.brandl) * (Python committer) Date: 2007-08-13 09:39
It is fixed, but in the development docs. The 2.5 docs will get updated with 2.5.2.
msg32636 - (view) Author: Georg Brandl (georg.brandl) * (Python committer) Date: 2007-08-13 09:39
It is fixed, but in the development docs. The 2.5 docs will get updated with 2.5.2.
History
Date User Action Args
2022-04-11 14:56:25adminsetgithub: 45307
2007-08-13 07:10:13arxaaroncreate