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
5792ce15
Kaydet (Commit)
5792ce15
authored
Eki 05, 2013
tarafından
Ezio Melotti
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
#19067: use imperative mood in range object docstrings. Patch by Marco Buttu.
üst
4e1f3d66
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
rangeobject.c
Objects/rangeobject.c
+3
-3
No files found.
Objects/rangeobject.c
Dosyayı görüntüle @
5792ce15
...
...
@@ -139,7 +139,7 @@ PyDoc_STRVAR(range_doc,
"range(stop) -> range object
\n
\
range(start, stop[, step]) -> range object
\n
\
\n
\
Return
s
a virtual sequence of numbers from start to stop by step."
);
Return a virtual sequence of numbers from start to stop by step."
);
static
void
range_dealloc
(
rangeobject
*
r
)
...
...
@@ -865,14 +865,14 @@ static PyObject * range_iter(PyObject *seq);
static
PyObject
*
range_reverse
(
PyObject
*
seq
);
PyDoc_STRVAR
(
reverse_doc
,
"Return
s
a reverse iterator."
);
"Return a reverse iterator."
);
PyDoc_STRVAR
(
count_doc
,
"rangeobject.count(value) -> integer -- return number of occurrences of value"
);
PyDoc_STRVAR
(
index_doc
,
"rangeobject.index(value, [start, [stop]]) -> integer -- return index of value.
\n
"
"Raise
s
ValueError if the value is not present."
);
"Raise ValueError if the value is not present."
);
static
PyMethodDef
range_methods
[]
=
{
{
"__reversed__"
,
(
PyCFunction
)
range_reverse
,
METH_NOARGS
,
reverse_doc
},
...
...
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