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
ca2b0151
Kaydet (Commit)
ca2b0151
authored
Nis 07, 2008
tarafından
Benjamin Peterson
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
fixed outdated annotation of readinto in io
üst
21c80f22
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
io.py
Lib/io.py
+4
-4
No files found.
Lib/io.py
Dosyayı görüntüle @
ca2b0151
...
...
@@ -487,8 +487,8 @@ class RawIOBase(IOBase):
res
+=
data
return
bytes
(
res
)
def
readinto
(
self
,
b
:
byte
s
)
->
int
:
"""readinto(b: byte
s
) -> int. Read up to len(b) bytes into b.
def
readinto
(
self
,
b
:
byte
array
)
->
int
:
"""readinto(b: byte
array
) -> int. Read up to len(b) bytes into b.
Returns number of bytes read (0 for EOF), or None if the object
is set not to block as has no data to read.
...
...
@@ -563,8 +563,8 @@ class BufferedIOBase(IOBase):
"""
self
.
_unsupported
(
"read"
)
def
readinto
(
self
,
b
:
byte
s
)
->
int
:
"""readinto(b: byte
s
) -> int. Read up to len(b) bytes into b.
def
readinto
(
self
,
b
:
byte
array
)
->
int
:
"""readinto(b: byte
array
) -> int. Read up to len(b) bytes into b.
Like read(), this may issue multiple reads to the underlying
raw stream, unless the latter is 'interactive' (XXX or a
...
...
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