Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
cpython
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
Batuhan Osman TASKAYA
cpython
Commits
eef5c35c
Kaydet (Commit)
eef5c35c
authored
Nis 27, 2010
tarafından
Benjamin Peterson
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
make slice notation in (r)find docs consistent
üst
4c7bcf11
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
+7
-7
stdtypes.rst
Doc/library/stdtypes.rst
+7
-7
No files found.
Doc/library/stdtypes.rst
Dosyayı görüntüle @
eef5c35c
...
...
@@ -910,10 +910,10 @@ string functions based on regular expressions.
.. method:: str.find(sub[, start[, end]])
Return the lowest index in the string where substring *sub* is found, such
that
*sub* is contained in the range [*start*, *end*]. Optional arguments *start*
and *end* are interpreted as in slice notation. Return ``-1`` if *sub* is not
found.
Return the lowest index in the string where substring *sub* is found, such
that *sub* is contained in the slice ``s[start:end]``. Optional arguments
*start* and *end* are interpreted as in slice notation. Return ``-1`` if
*sub* is not
found.
.. method:: str.format(*args, **kwargs)
...
...
@@ -1059,9 +1059,9 @@ string functions based on regular expressions.
.. method:: str.rfind(sub [,start [,end]])
Return the highest index in the string where substring *sub* is found, such
that
*sub* is contained within s[start,end]. Optional arguments *start* and *end
*
are interpreted as in slice notation. Return ``-1`` on failure.
Return the highest index in the string where substring *sub* is found, such
that *sub* is contained within ``s[start:end]``. Optional arguments *start
*
a
nd *end* a
re interpreted as in slice notation. Return ``-1`` on failure.
.. method:: str.rindex(sub[, start[, end]])
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment