summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBob Ippolito <bob@redivi.com>2017-06-12 13:48:20 +0100
committerGitHub <noreply@github.com>2017-06-12 13:48:20 +0100
commitb166c2b593d32b3d5a0866554aded44bf21f6297 (patch)
treeac3fe9e6565f15d048a81580dbb024041746ea98
parentde28cced9a9a5ff1a7a93eb52bd2a52a01d0476a (diff)
parent8edc82afcf6f7512b05fba32baa536fe756bd273 (diff)
downloadsimplejson-b166c2b593d32b3d5a0866554aded44bf21f6297.tar.gz
Merge pull request #172 from jcerjak/docstring-fix-for-use_decimal
docstring fix in JSONEncoder: use_decimal defaults to True
-rw-r--r--simplejson/encoder.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/simplejson/encoder.py b/simplejson/encoder.py
index 226480f..b5c3141 100644
--- a/simplejson/encoder.py
+++ b/simplejson/encoder.py
@@ -185,7 +185,7 @@ class JSONEncoder(object):
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``.