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
c45fb25f
Kaydet (Commit)
c45fb25f
authored
Eki 24, 2011
tarafından
Florent Xicluna
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Issue #13255: wrong docstrings in array module.
üst
023611f3
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
4 deletions
+6
-4
NEWS
Misc/NEWS
+2
-0
arraymodule.c
Modules/arraymodule.c
+4
-4
No files found.
Misc/NEWS
Dosyayı görüntüle @
c45fb25f
...
...
@@ -58,6 +58,8 @@ Core and Builtins
Library
-------
- Issue #13255: wrong docstrings in array module.
- Issue #9168: now smtpd is able to bind privileged port.
- Issue #12529: fix cgi.parse_header issue on strings with double-quotes and
...
...
Modules/arraymodule.c
Dosyayı görüntüle @
c45fb25f
...
...
@@ -1484,7 +1484,7 @@ PyDoc_STRVAR(fromunicode_doc,
\n
\
Extends this array with data from the unicode string ustr.
\n
\
The array must be a unicode type array; otherwise a ValueError
\n
\
is raised. Use array.frombytes(ustr.
de
code(...)) to
\n
\
is raised. Use array.frombytes(ustr.
en
code(...)) to
\n
\
append Unicode data to an array of some other type."
);
...
...
@@ -1506,7 +1506,7 @@ PyDoc_STRVAR(tounicode_doc,
\n
\
Convert the array to a unicode string. The array must be
\n
\
a unicode type array; otherwise a ValueError is raised. Use
\n
\
array.to
string
().decode() to obtain a unicode string from
\n
\
array.to
bytes
().decode() to obtain a unicode string from
\n
\
an array of some other type."
);
...
...
@@ -2557,7 +2557,7 @@ count() -- return number of occurrences of an object\n\
extend() -- extend array by appending multiple elements from an iterable
\n
\
fromfile() -- read items from a file object
\n
\
fromlist() -- append items from the list
\n
\
from
string
() -- append items from the string
\n
\
from
bytes
() -- append items from the string
\n
\
index() -- return index of first occurrence of an object
\n
\
insert() -- insert a new item into the array at a provided position
\n
\
pop() -- remove and return item (default last)
\n
\
...
...
@@ -2565,7 +2565,7 @@ remove() -- remove first occurrence of an object\n\
reverse() -- reverse the order of the items in the array
\n
\
tofile() -- write all items to a file object
\n
\
tolist() -- return the array converted to an ordinary list
\n
\
to
string
() -- return the array converted to a string
\n
\
to
bytes
() -- return the array converted to a string
\n
\
\n
\
Attributes:
\n
\
\n
\
...
...
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