From e4941c01333247fd9068e7e9f76631e09e5fdd69 Mon Sep 17 00:00:00 2001 From: Richard Quaicoe Date: Fri, 1 Jul 2022 02:22:54 +0000 Subject: #299 Comment error fix --- simplejson/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/simplejson/__init__.py b/simplejson/__init__.py index 4d0ab75..c40d027 100644 --- a/simplejson/__init__.py +++ b/simplejson/__init__.py @@ -300,7 +300,7 @@ def dumps(obj, skipkeys=False, ensure_ascii=True, check_circular=True, iterable_as_array=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``, ``long``, ``float``, ``bool``, ``None``) will be skipped instead of raising a ``TypeError``. -- cgit v1.2.1