Skip to content

Commit

Permalink
Merge pull request #172 from jcerjak/docstring-fix-for-use_decimal
Browse files Browse the repository at this point in the history
docstring fix in JSONEncoder: use_decimal defaults to True
  • Loading branch information
etrepum committed Jun 12, 2017
2 parents de28cce + 8edc82a commit b166c2b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion simplejson/encoder.py
Expand Up @@ -185,7 +185,7 @@ def __init__(self, skipkeys=False, ensure_ascii=True,
transformed into unicode using that encoding prior to JSON-encoding.
The default is UTF-8.
If use_decimal is true (not the default), ``decimal.Decimal`` will
If use_decimal is true (default: ``True``), ``decimal.Decimal`` will
be supported directly by the encoder. For the inverse, decode JSON
with ``parse_float=decimal.Decimal``.
Expand Down

0 comments on commit b166c2b

Please sign in to comment.