Skip to content

Commit

Permalink
python/file_formats: Remove content about Python 3.5
Browse files Browse the repository at this point in the history
  • Loading branch information
jpmckinney committed Jun 5, 2023
1 parent 91bd87f commit d79920d
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions docs/python/file_formats.rst
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,6 @@ In most cases, simply use the `standard library <https://docs.python.org/3/libra
with open(path) as f:
data = json.load(f)
If (and only if) the code must support Python 3.5 or earlier, use:

.. code-block:: python
from collections import OrderedDict
with open(path) as f:
data = json.load(f, object_pairs_hook=OrderedDict)
For critical paths involving *small files*, use `orjson <https://pypi.org/project/orjson/>`__.

.. note::
Expand Down

0 comments on commit d79920d

Please sign in to comment.