diff options
author | Bob Ippolito <bob@redivi.com> | 2022-07-01 08:13:41 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-07-01 08:13:41 -0700 |
commit | 43645252224d4e529c22cb78ac42f241d6426073 (patch) | |
tree | e38c97bfdea8271094be3eb64dda9b8f4617a0b1 | |
parent | 74c95b6d3cafd0b158ab7f8a3a066d0671e5c931 (diff) | |
parent | e4941c01333247fd9068e7e9f76631e09e5fdd69 (diff) | |
download | simplejson-43645252224d4e529c22cb78ac42f241d6426073.tar.gz |
Merge pull request #300 from Attakay78/master
#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``. |