From bca91750bf49c19d5234ce1fc4cc3dcf43498421 Mon Sep 17 00:00:00 2001 From: Fie <40601523+Zkaij@users.noreply.github.com> Date: Tue, 3 Nov 2026 17:58:44 +0000 Subject: [PATCH] Fixed minor typos in json/__init__.py docstrings --- Lib/json/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Lib/json/__init__.py b/Lib/json/__init__.py index f74b55ed0dd4f53..e960ffacd5c7bde 100644 --- a/Lib/json/__init__.py +++ b/Lib/json/__init__.py @@ -134,7 +134,7 @@ def dump(obj, fp, *, skipkeys=False, ensure_ascii=True, check_circular=True, If ``check_circular`` is false, then the circular reference check for container types will be skipped and a circular reference will - result in an ``RecursionError`` (or worse). + result in a ``RecursionError`` (or worse). If ``allow_nan`` is false, then it will be a ``ValueError`` to serialize out of range ``float`` values (``nan``, ``inf``, ``-inf``) @@ -198,7 +198,7 @@ def dumps(obj, *, skipkeys=False, ensure_ascii=True, check_circular=True, If ``check_circular`` is false, then the circular reference check for container types will be skipped and a circular reference will - result in an ``RecursionError`` (or worse). + result in a ``RecursionError`` (or worse). If ``allow_nan`` is false, then it will be a ``ValueError`` to serialize out of range ``float`` values (``nan``, ``inf``, ``-inf``) in