diff options
author | Richard Quaicoe <richardquaicoe78@gmail.com> | 2022-07-01 02:22:54 +0000 |
---|---|---|
committer | Richard Quaicoe <richardquaicoe78@gmail.com> | 2022-07-01 02:22:54 +0000 |
commit | e4941c01333247fd9068e7e9f76631e09e5fdd69 (patch) | |
tree | e38c97bfdea8271094be3eb64dda9b8f4617a0b1 | |
parent | 74c95b6d3cafd0b158ab7f8a3a066d0671e5c931 (diff) | |
download | simplejson-e4941c01333247fd9068e7e9f76631e09e5fdd69.tar.gz |
#299 Comment error fix
-rw-r--r-- | simplejson/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
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``. |