다운로드
소프트웨어 개발
계정
다운로드
소프트웨어 개발
Login
Forgot Account/Password
계정 만들기
언어
도움
언어
도움
×
Login
Login Name
Password
×
Forgot Account/Password
Translation Status of 한국말
Category:
Software
People
PersonalForge
Magazine
Wiki
검색
OSDN
>
브라 우즈 소프트웨어
>
Software Development
>
Interpreters
>
Python Japanese Environment
>
Ticket List/Search
>
Ticket #15682
Python Japanese Environment
Description
Project Summary
Developer Dashboard
웹 페이지
Developers
Image Gallery
List of RSS Feeds
Activity
Statistics
History
다운로드
List of Releases
Stats
소스 코드
Code Repository list
Subversion
View Repository
CVS
View Repository
티켓
Ticket List
Milestone List
Type List
Component List
List of frequently used tickets/RSS
Submit New Ticket
Documents
Wiki
FrontPage
Title index
Recent changes
Doc Mgr
List Docs
Communication
list of ML
pythonjp-checkins
Ticket #15682
Ticket List
Submit New Ticket
RSS
rindexのところの説明が間違っています。
오픈 날짜:
2009-03-22 16:23
마지막 업데이트:
2009-04-02 11:46
monitor
ON
OFF
Reporter:
(Anonymous)
소유자:
(None)
Type:
Bugs
Status:
Closed
Component:
(None)
MileStone:
(None)
Priority:
5 - Medium
Severity:
5 - Medium
Resolution:
Accepted
File:
None
Details
Reply
http://www.python.jp/doc/release/lib/string-methods.html
のrindexのところが
rindex( sub[, start[, end]])
find() と同様ですが、sub が見つからなかった場合 ValueError を送出します。
となっていますが、
>>> "akira".rindex("a")
4
>>> "akira".find("a")
0
実行してみたところ違います。
>>> "akira".rfind("a")
4
なので、findではなくてrfindの間違いだと思います。
Ticket History (1/1 Histories)
2009-04-02 11:46
Updated by:
omoikane
Resolution
Update from
None
to
Accepted
Status
Update from
Open
to
Closed
Ticket Close date
is changed to
2009-04-02 11:46
댓글 올리기
Reply
2.4 の cvs, 2.5 の svn 上で修正しました。次回リリース時に反映されます。
Attachment File List (
0
)
Attachment File List
No attachments
Edit
Add Comment
You are not logged in.
I you are not logged in, your comment will be treated as an anonymous post. »
Login
Add Comment
Preview
Submit
のrindexのところが
rindex( sub[, start[, end]])
find() と同様ですが、sub が見つからなかった場合 ValueError を送出します。
となっていますが、
>>> "akira".rindex("a")
4
>>> "akira".find("a")
0
実行してみたところ違います。
>>> "akira".rfind("a")
4
なので、findではなくてrfindの間違いだと思います。