Skip to content

Commit

Permalink
Remove double and
Browse files Browse the repository at this point in the history
  • Loading branch information
nineteendo committed Feb 11, 2025
1 parent 7216ee3 commit 825d8d4
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion docs/source/changelog.rst
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jsonyx 2.0.0 (unreleased)
- Added the ``jsonyx`` application
- Added ``hooks`` to :class:`jsonyx.Decoder`, :func:`jsonyx.load`,
:func:`jsonyx.loads` and :func:`jsonyx.read`
- Added ``commas``, ``indent_leaves``, ``max_indent_level`` and ``quoted_keys``
- Added ``commas``, ``indent_leaves``, ``max_indent_level``, ``quoted_keys``
and ``types`` to :class:`jsonyx.Encoder`, :func:`jsonyx.dump`,
:func:`jsonyx.dumps` and :func:`jsonyx.write`
- Added ``python -m jsonyx diff`` and ``python -m jsonyx patch``
Expand Down
6 changes: 3 additions & 3 deletions src/jsonyx/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ def write(
:param separators: the item and key separator
:param sort_keys: sort the keys of objects
:param trailing_comma: add a trailing comma when indented
:param types: a dictionary of additional :ref:`types <protocol_types>`
:param types: a dictionary of :ref:`additional types <protocol_types>`
:raises RecursionError: if the object is too deeply nested
:raises TypeError: for unserializable values
:raises UnicodeEncodeError: when failing to encode the file
Expand Down Expand Up @@ -325,7 +325,7 @@ def dump(
:param separators: the item and key separator
:param sort_keys: sort the keys of objects
:param trailing_comma: add a trailing comma when indented
:param types: a dictionary of additional :ref:`types <protocol_types>`
:param types: a dictionary of :ref:`additional types <protocol_types>`
:raises RecursionError: if the object is too deeply nested
:raises TypeError: for unserializable values
:raises ValueError: for invalid values
Expand Down Expand Up @@ -398,7 +398,7 @@ def dumps(
:param separators: the item and key separator
:param sort_keys: sort the keys of objects
:param trailing_comma: add a trailing comma when indented
:param types: a dictionary of additional :ref:`types <protocol_types>`
:param types: a dictionary of :ref:`additional types <protocol_types>`
:raises RecursionError: if the object is too deeply nested
:raises TypeError: for unserializable values
:raises ValueError: for invalid values
Expand Down
2 changes: 1 addition & 1 deletion src/jsonyx/_encoder.py
Original file line number Diff line number Diff line change
Expand Up @@ -310,7 +310,7 @@ class Encoder:
:param separators: the item and key separator
:param sort_keys: sort the keys of objects
:param trailing_comma: add a trailing comma when indented
:param types: a dictionary of additional :ref:`types <protocol_types>`
:param types: a dictionary of :ref:`additional types <protocol_types>`
.. note:: The item separator is automatically stripped when indented.
Expand Down

0 comments on commit 825d8d4

Please sign in to comment.