Skip to content

Commit 15d725c

Browse files
committed
gh-136216: Updated mentioned RFC in json module
1 parent 836fbda commit 15d725c

2 files changed

Lines changed: 6 additions & 4 deletions

File tree

Doc/library/json.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
--------------
1010

1111
`JSON (JavaScript Object Notation) <https://json.org>`_, specified by
12-
:rfc:`7159` (which obsoletes :rfc:`4627`) and by
12+
:rfc:`8259` (which obsoletes :rfc:`7159`) and by
1313
`ECMA-404 <https://ecma-international.org/publications-and-standards/standards/ecma-404/>`_,
1414
is a lightweight data interchange format inspired by
1515
`JavaScript <https://en.wikipedia.org/wiki/JavaScript>`_ object literal syntax
@@ -632,7 +632,7 @@ Exceptions
632632
Standard Compliance and Interoperability
633633
----------------------------------------
634634

635-
The JSON format is specified by :rfc:`7159` and by
635+
The JSON format is specified by :rfc:`8259` and by
636636
`ECMA-404 <https://ecma-international.org/publications-and-standards/standards/ecma-404/>`_.
637637
This section details this module's level of compliance with the RFC.
638638
For simplicity, :class:`JSONEncoder` and :class:`JSONDecoder` subclasses, and
@@ -850,8 +850,8 @@ Command-line options
850850

851851
.. rubric:: Footnotes
852852

853-
.. [#rfc-errata] As noted in `the errata for RFC 7159
854-
<https://www.rfc-editor.org/errata_search.php?rfc=7159>`_,
853+
.. [#rfc-errata] As noted in `the errata for RFC 8259
854+
<https://www.rfc-editor.org/errata_search.php?rfc=8259>`_,
855855
JSON permits literal U+2028 (LINE SEPARATOR) and
856856
U+2029 (PARAGRAPH SEPARATOR) characters in strings, whereas JavaScript
857857
(as of ECMAScript Edition 5.1) does not.
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
Document support for :rfc:`8259` in :mod:`json` module, which obsoletes
2+
:rfc:`7159`.

0 commit comments

Comments
 (0)