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
2d813e51
Kaydet (Commit)
2d813e51
authored
Eyl 06, 1999
tarafından
Andrew M. Kuchling
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Fixed 'return EOFError' that should be 'raise EOFError', caught by
Skip Montanaro's return-value patches.
üst
a07934e5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
gzip.py
Lib/gzip.py
+1
-1
No files found.
Lib/gzip.py
Dosyayı görüntüle @
2d813e51
...
@@ -182,7 +182,7 @@ class GzipFile:
...
@@ -182,7 +182,7 @@ class GzipFile:
self
.
fileobj
.
seek
(
0
,
2
)
# Seek to end of file
self
.
fileobj
.
seek
(
0
,
2
)
# Seek to end of file
if
pos
==
self
.
fileobj
.
tell
():
if
pos
==
self
.
fileobj
.
tell
():
self
.
fileobj
=
None
self
.
fileobj
=
None
r
eturn
EOFError
,
"Reached EOF"
r
aise
EOFError
,
"Reached EOF"
else
:
else
:
self
.
fileobj
.
seek
(
pos
)
# Return to original position
self
.
fileobj
.
seek
(
pos
)
# Return to original position
...
...
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