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
bf086a1e
Kaydet (Commit)
bf086a1e
authored
May 12, 2008
tarafından
Georg Brandl
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
range() returns an iterable, not an iterator.
üst
9cb1e277
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
functions.rst
Doc/library/functions.rst
+2
-2
No files found.
Doc/library/functions.rst
Dosyayı görüntüle @
bf086a1e
...
...
@@ -874,11 +874,11 @@ are always available. They are listed here in alphabetical order.
..
XXX
does
accept
objects
with
__index__
too
..
function
::
range
([
start
,]
stop
[,
step
])
This
is
a
versatile
function
to
create
itera
tor
s
yielding
arithmetic
This
is
a
versatile
function
to
create
itera
ble
s
yielding
arithmetic
progressions
.
It
is
most
often
used
in
:
keyword
:`
for
`
loops
.
The
arguments
must
be
integers
.
If
the
*
step
*
argument
is
omitted
,
it
defaults
to
``
1
``.
If
the
*
start
*
argument
is
omitted
,
it
defaults
to
``
0
``.
The
full
form
returns
an
itera
tor
of
integers
``[
start
,
start
+
step
,
start
+
2
*
step
,
returns
an
itera
ble
of
integers
``[
start
,
start
+
step
,
start
+
2
*
step
,
...]``.
If
*
step
*
is
positive
,
the
last
element
is
the
largest
``
start
+
i
*
step
``
less
than
*
stop
*;
if
*
step
*
is
negative
,
the
last
element
is
the
smallest
``
start
+
i
*
step
``
greater
than
*
stop
*.
*
step
*
must
not
be
zero
...
...
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