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
d8de44b6
Kaydet (Commit)
d8de44b6
authored
Tem 28, 2015
tarafından
Alessandro Cucci
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Issue #24729: Update tutorial to match implementation.
üst
111803c0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
inputoutput.rst
Doc/tutorial/inputoutput.rst
+3
-3
No files found.
Doc/tutorial/inputoutput.rst
Dosyayı görüntüle @
d8de44b6
...
@@ -247,8 +247,9 @@ writing. The *mode* argument is optional; ``'r'`` will be assumed if it's
...
@@ -247,8 +247,9 @@ writing. The *mode* argument is optional; ``'r'`` will be assumed if it's
omitted.
omitted.
Normally, files are opened in :dfn:`text mode`, that means, you read and write
Normally, files are opened in :dfn:`text mode`, that means, you read and write
strings from and to the file, which are encoded in a specific encoding (the
strings from and to the file, which are encoded in a specific encoding. If
default being UTF-8). ``'b'`` appended to the mode opens the file in
encoding is not specified the default is platform dependent (see :func:`~functions.open`).
``'b'`` appended to the mode opens the file in
:dfn:`binary mode`: now the data is read and written in the form of bytes
:dfn:`binary mode`: now the data is read and written in the form of bytes
objects. This mode should be used for all files that don't contain text.
objects. This mode should be used for all files that don't contain text.
...
@@ -437,4 +438,3 @@ The reference for the :mod:`json` module contains an explanation of this.
...
@@ -437,4 +438,3 @@ The reference for the :mod:`json` module contains an explanation of this.
written in other languages. It is also insecure by default:
written in other languages. It is also insecure by default:
deserializing pickle data coming from an untrusted source can execute
deserializing pickle data coming from an untrusted source can execute
arbitrary code, if the data was crafted by a skilled attacker.
arbitrary code, if the data was crafted by a skilled attacker.
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