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
f8709e80
Unverified
Kaydet (Commit)
f8709e80
authored
Tem 06, 2019
tarafından
Terry Jan Reedy
Kaydeden (comit)
GitHub
Tem 06, 2019
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
bpo-37487: Fix PyList_GetItem index description. (GH-14623)
0 is a legal index.
üst
fcf1d003
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
3 deletions
+4
-3
list.rst
Doc/c-api/list.rst
+3
-3
2019-07-06-17-19-26.bpo-37487.QagfZ5.rst
...xt/Documentation/2019-07-06-17-19-26.bpo-37487.QagfZ5.rst
+1
-0
No files found.
Doc/c-api/list.rst
Dosyayı görüntüle @
f8709e80
...
...
@@ -59,9 +59,9 @@ List Objects
.. c:function:: PyObject* PyList_GetItem(PyObject *list, Py_ssize_t index)
Return the object at position *index* in the list pointed to by *list*. The
position must be
positive,
indexing from the end of the list is not
supported. If *index* is out of bounds
, return *NULL* and set an
:exc:`IndexError` exception.
position must be
non-negative;
indexing from the end of the list is not
supported. If *index* is out of bounds
(<0 or >=len(list)),
return *NULL* and set an
:exc:`IndexError` exception.
.. c:function:: PyObject* PyList_GET_ITEM(PyObject *list, Py_ssize_t i)
...
...
Misc/NEWS.d/next/Documentation/2019-07-06-17-19-26.bpo-37487.QagfZ5.rst
0 → 100644
Dosyayı görüntüle @
f8709e80
Fix PyList_GetItem index description to include 0.
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