]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Issue #24540: fix typo in json.dumps docstring
authorNed Deily <nad@acm.org>
Sun, 5 Jul 2015 18:43:59 +0000 (11:43 -0700)
committerNed Deily <nad@acm.org>
Sun, 5 Jul 2015 18:43:59 +0000 (11:43 -0700)
Lib/json/__init__.py

index 0be85da022b2e88ddc21eb7cec57b69775300a4c..140a3d0e58e07f4bf928a7ea16a2ce4c62c3027f 100644 (file)
@@ -195,10 +195,11 @@ def dumps(obj, skipkeys=False, ensure_ascii=True, check_circular=True,
         encoding='utf-8', 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``, ``unicode``, ``int``, ``long``, ``float``, ``bool``, ``None``)
     will be skipped instead of raising a ``TypeError``.
 
+
     If ``ensure_ascii`` is false, all non-ASCII characters are not escaped, and
     the return value may be a ``unicode`` instance. See ``dump`` for details.