[Python-checkins] cpython (3.4): Issue #24540: fix typo in json.dumps docstring
ned.deily
python-checkins at python.org
Sun Jul 5 20:46:37 CEST 2015
https://hg.python.org/cpython/rev/0deca75537ec
changeset: 96838:0deca75537ec
branch: 3.4
parent: 96815:725131a5f6cf
user: Ned Deily <nad at acm.org>
date: Sun Jul 05 11:45:01 2015 -0700
summary:
Issue #24540: fix typo in json.dumps docstring
files:
Lib/json/__init__.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/Lib/json/__init__.py b/Lib/json/__init__.py
--- a/Lib/json/__init__.py
+++ b/Lib/json/__init__.py
@@ -184,7 +184,7 @@
default=None, sort_keys=False, **kw):
"""Serialize ``obj`` to a JSON formatted ``str``.
- If ``skipkeys`` is false then ``dict`` keys that are not basic types
+ If ``skipkeys`` is true then ``dict`` keys that are not basic types
(``str``, ``int``, ``float``, ``bool``, ``None``) will be skipped
instead of raising a ``TypeError``.
--
Repository URL: https://hg.python.org/cpython
More information about the Python-checkins
mailing list