summaryrefslogtreecommitdiff
path: root/simplejson
diff options
context:
space:
mode:
authorJure Cerjak <jcerjak@termitnjak.si>2017-06-12 11:20:49 +0200
committerJure Cerjak <jcerjak@termitnjak.si>2017-06-12 11:20:49 +0200
commit8edc82afcf6f7512b05fba32baa536fe756bd273 (patch)
treeac3fe9e6565f15d048a81580dbb024041746ea98 /simplejson
parentde28cced9a9a5ff1a7a93eb52bd2a52a01d0476a (diff)
downloadsimplejson-8edc82afcf6f7512b05fba32baa536fe756bd273.tar.gz
docstring fix in JSONEncoder: use_decimal defaults to True
Diffstat (limited to 'simplejson')
-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``.