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
9e840848
Kaydet (Commit)
9e840848
authored
Agu 11, 2018
tarafından
Evan Allrich
Kaydeden (comit)
INADA Naoki
Agu 11, 2018
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
bpo-34379: Doc: Move note for json.dump (GH-8730)
üst
db6075ab
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
6 deletions
+5
-6
json.rst
Doc/library/json.rst
+5
-6
No files found.
Doc/library/json.rst
Dosyayı görüntüle @
9e840848
...
@@ -188,6 +188,11 @@ Basic Usage
...
@@ -188,6 +188,11 @@ Basic Usage
.. versionchanged:: 3.6
.. versionchanged:: 3.6
All optional parameters are now :ref:`keyword-only <keyword-only_parameter>`.
All optional parameters are now :ref:`keyword-only <keyword-only_parameter>`.
.. note::
Unlike :mod:`pickle` and :mod:`marshal`, JSON is not a framed protocol,
so trying to serialize multiple objects with repeated calls to
:func:`dump` using the same *fp* will result in an invalid JSON file.
.. function:: dumps(obj, *, skipkeys=False, ensure_ascii=True, \
.. function:: dumps(obj, *, skipkeys=False, ensure_ascii=True, \
check_circular=True, allow_nan=True, cls=None, \
check_circular=True, allow_nan=True, cls=None, \
...
@@ -198,12 +203,6 @@ Basic Usage
...
@@ -198,12 +203,6 @@ Basic Usage
table <py-to-json-table>`. The arguments have the same meaning as in
table <py-to-json-table>`. The arguments have the same meaning as in
:func:`dump`.
:func:`dump`.
.. note::
Unlike :mod:`pickle` and :mod:`marshal`, JSON is not a framed protocol,
so trying to serialize multiple objects with repeated calls to
:func:`dump` using the same *fp* will result in an invalid JSON file.
.. note::
.. note::
Keys in key/value pairs of JSON are always of the type :class:`str`. When
Keys in key/value pairs of JSON are always of the type :class:`str`. When
...
...
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