File tree Expand file tree Collapse file tree 2 files changed +3
-0
lines changed
Expand file tree Collapse file tree 2 files changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -635,6 +635,7 @@ the default rounding mode is used ('ROUND_HALF_EVEN').
635635 b ' "1.24"'
636636
637637 .. note ::
638+
638639 This parameter has no effect unless ``decimal_quantize `` is also specified.
639640
640641This setting is not yet supported for YAML or TOML - if this option is
Original file line number Diff line number Diff line change @@ -12659,6 +12659,7 @@ PyDoc_STRVAR(Encoder__doc__,
1265912659" - `'sorted'`: Like `'deterministic'`, but *all* object-like types (structs,\n"
1266012660" dataclasses, ...) are also sorted by field name before encoding. This is\n"
1266112661" slower than `'deterministic'`, but may produce more human-readable output.\n"
12662+ "\n"
1266212663"decimal_quantize : decimal.Decimal, optional\n"
1266312664" An optional Decimal value specifying the quantize target for rounding\n"
1266412665" Decimal numbers before encoding. If provided, all Decimal values will be\n"
@@ -13891,6 +13892,7 @@ PyDoc_STRVAR(JSONEncoder__doc__,
1389113892" - `'sorted'`: Like `'deterministic'`, but *all* object-like types (structs,\n"
1389213893" dataclasses, ...) are also sorted by field name before encoding. This is\n"
1389313894" slower than `'deterministic'`, but may produce more human-readable output."
13895+ "\n"
1389413896"decimal_quantize : decimal.Decimal, optional\n"
1389513897" An optional Decimal value specifying the quantize target for rounding\n"
1389613898" Decimal numbers before encoding. If provided, all Decimal values will be\n"
You can’t perform that action at this time.
0 commit comments