From 8273b44346aac97635dbd7d7fcf21dd834351a61 Mon Sep 17 00:00:00 2001 From: yuyi2439 <68320855+yuyi2439@users.noreply.github.com> Date: Tue, 16 Jun 2026 13:42:18 +0800 Subject: [PATCH] Fix typo in docstring of the loads function --- json5/lib.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/json5/lib.py b/json5/lib.py index c6c82d1..7284003 100644 --- a/json5/lib.py +++ b/json5/lib.py @@ -164,7 +164,7 @@ def loads( """Deserialize ``s`` (a string containing a JSON5 document) to a Python object. - Supports the same arguments as ``json.load()`` except that: + Supports the same arguments as ``json.loads()`` except that: - the `cls` keyword is ignored. - an extra `allow_duplicate_keys` parameter supports checking for duplicate keys in a object; by default, this is True for