Skip to content

Commit 2357ed5

Browse files
committed
Fix build docs
1 parent 8bcd42d commit 2357ed5

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

docs/supported-types.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff 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

640641
This setting is not yet supported for YAML or TOML - if this option is

src/msgspec/_core.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff 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"

0 commit comments

Comments
 (0)