Bugs item #1772890, was opened at 2007-08-13 07:10
Message generated for change (Comment added) made by gbrandl
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1772890&group_id=5470
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Documentation
Group: 3rd Party
>Status: Closed
>Resolution: Duplicate
Priority: 5
Private: No
Submitted By: arxaaron (arxaaron)
Assigned to: Nobody/Anonymous (nobody)
Summary: Py Lib Ref, 3.6.1 String Methods startswith() typo
Initial Comment:
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.
----------------------------------------------------------------------
>Comment By: Georg Brandl (gbrandl)
Date: 2007-08-13 09:39
Message:
Logged In: YES
user_id=849994
Originator: NO
It is fixed, but in the development docs. The 2.5 docs will get updated
with 2.5.2.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1772890&group_id=5470
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com