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
b965629a
Kaydet (Commit)
b965629a
authored
Ock 16, 2011
tarafından
Raymond Hettinger
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Issue 10889: Added entry for handling of indexing and slicing with ranges bigger than sys.maxsize.
üst
eec6dbf2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
3.2.rst
Doc/whatsnew/3.2.rst
+4
-4
No files found.
Doc/whatsnew/3.2.rst
Dosyayı görüntüle @
b965629a
...
...
@@ -541,8 +541,8 @@ Some smaller changes made to the core Python language are:
of an effort to make more objects fully implement the
:class:`collections.Sequence` :term:`abstract base class`. As a result, the
language will have a more uniform API. In addition, :class:`range` objects
now support slicing and negative indices
. This makes *range* more
interoperable with lists::
now support slicing and negative indices
, even with values larger than
:attr:`sys.maxsize`. This makes *range* more
interoperable with lists::
>>> range(0, 100, 2).count(10)
1
...
...
@@ -553,8 +553,8 @@ Some smaller changes made to the core Python language are:
>>> range(0, 100, 2)[0:5]
range(0, 10, 2)
(Contributed by Daniel Stutzbach in :issue:`9213`
and
by Alexander Belopolsky
in :issue:`2690`.)
(Contributed by Daniel Stutzbach in :issue:`9213`
,
by Alexander Belopolsky
in :issue:`2690`
, and by Nick Coghlan in :issue:`10889`
.)
* The :func:`callable` builtin function from Py2.x was resurrected. It provides
a concise, readable alternative to using an :term:`abstract base class` in an
...
...
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