Download
Desenvolver
Conta
Download
Desenvolver
Login
Forgot Account/Password
Criar Conta
Linguagem
Ajuda
Linguagem
Ajuda
×
Login
Nome de acesso
Senha
×
Forgot Account/Password
Estado tradução de Português
Category:
Software
People
PersonalForge
Magazine
Wiki
Pesquisa
OSDN
>
Pesquisar Software
>
Software Development
>
Interpreters
>
Python Japanese Environment
>
Ticket List/Search
>
Tíquete #15682
Python Japanese Environment
Descrição
Project Summary
Developer Dashboard
Página da Web
Developers
Image Gallery
List of RSS Feeds
Activity
Statistics
Histórico
Downloads
List of Releases
Stats
Código Fonte
Code Repository list
Subversion
Visualizar Repositório
CVS
Visualizar Repositório
Tíquete
Ticket List
Milestone List
Type List
Lista de componentes
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
Tíquete #15682
Ticket List
Submit New Ticket
RSS
rindexのところの説明が間違っています。
:
2009-03-22 16:23
Última Atualização:
2009-04-02 11:46
monitor
ON
OFF
Relator:
(Anônimo)
Dono:
(Nenhum)
Tipo:
Bugs
Estado:
Fechado
Componente:
(Nenhum)
Marcos:
(Nenhum)
Prioridade:
5 - Medium
Gravidade:
5 - Medium
Resolução:
Accepted
Arquivo:
Nenhum
Details
Responder
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
Resolução
Update from
Nenhum
to
Accepted
Estado
Update from
Aberto
to
Fechado
Ticket Close date
is changed to
2009-04-02 11:46
Comentário
Responder
2.4 の cvs, 2.5 の svn 上で修正しました。次回リリース時に反映されます。
Attachment File List (
0
)
Attachment File List
No attachments
Editar
Adicionar Comentário
You are not logged in.
I you are not logged in, your comment will be treated as an anonymous post. »
Login
Adicionar Comentário
Pré-visualizar
Submit
のrindexのところが
rindex( sub[, start[, end]])
find() と同様ですが、sub が見つからなかった場合 ValueError を送出します。
となっていますが、
>>> "akira".rindex("a")
4
>>> "akira".find("a")
0
実行してみたところ違います。
>>> "akira".rfind("a")
4
なので、findではなくてrfindの間違いだと思います。