Skip to content

Commit bca9175

Browse files
authored
Fixed minor typos in json/__init__.py docstrings
1 parent ce841a9 commit bca9175

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎Lib/json/__init__.py‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ def dump(obj, fp, *, skipkeys=False, ensure_ascii=True, check_circular=True,
134134
135135
If ``check_circular`` is false, then the circular reference check
136136
for container types will be skipped and a circular reference will
137-
result in an ``RecursionError`` (or worse).
137+
result in a ``RecursionError`` (or worse).
138138
139139
If ``allow_nan`` is false, then it will be a ``ValueError`` to
140140
serialize out of range ``float`` values (``nan``, ``inf``, ``-inf``)
@@ -198,7 +198,7 @@ def dumps(obj, *, skipkeys=False, ensure_ascii=True, check_circular=True,
198198
199199
If ``check_circular`` is false, then the circular reference check
200200
for container types will be skipped and a circular reference will
201-
result in an ``RecursionError`` (or worse).
201+
result in a ``RecursionError`` (or worse).
202202
203203
If ``allow_nan`` is false, then it will be a ``ValueError`` to
204204
serialize out of range ``float`` values (``nan``, ``inf``, ``-inf``) in

0 commit comments

Comments
 (0)