summaryrefslogtreecommitdiffstats
path: root/Lib/json
diff options
context:
space:
mode:
authorNed Deily <nad@acm.org>2015-07-05 18:45:01 (GMT)
committerNed Deily <nad@acm.org>2015-07-05 18:45:01 (GMT)
commit54630d999f640b3ea0b9da302a112a0ccd5bdd96 (patch)
tree91f082083c3446bd3e4b8f0ac94c19158e654fc8 /Lib/json
parent1da0612e70f64af89340630436483366a0e86ea4 (diff)
downloadcpython-54630d999f640b3ea0b9da302a112a0ccd5bdd96.zip
cpython-54630d999f640b3ea0b9da302a112a0ccd5bdd96.tar.gz
cpython-54630d999f640b3ea0b9da302a112a0ccd5bdd96.tar.bz2
Issue #24540: fix typo in json.dumps docstring
Diffstat (limited to 'Lib/json')
-rw-r--r--Lib/json/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/json/__init__.py b/Lib/json/__init__.py
index 94f7d8c..9398667 100644
--- a/Lib/json/__init__.py
+++ b/Lib/json/__init__.py
@@ -184,7 +184,7 @@ def dumps(obj, skipkeys=False, ensure_ascii=True, check_circular=True,
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``.