Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Doc/library/pickle.rst
Original file line number Diff line number Diff line change
Expand Up @@ -242,10 +242,10 @@ process more convenient:
instances of :class:`~datetime.datetime`, :class:`~datetime.date` and
:class:`~datetime.time` pickled by Python 2.

.. function:: loads(bytes_object, \*, fix_imports=True, encoding="ASCII", errors="strict")
.. function:: loads(data, \*, fix_imports=True, encoding="ASCII", errors="strict")

Return the reconstituted object hierarchy of the pickled representation
*bytes_object* of an object.
*data* of an object. *data* must be a :term:`bytes-like object`.

The protocol version of the pickle is detected automatically, so no
protocol argument is needed. Bytes past the pickled representation
Expand Down
1 change: 1 addition & 0 deletions Misc/ACKS
Original file line number Diff line number Diff line change
Expand Up @@ -746,6 +746,7 @@ Manuel Jacob
David Jacobs
Kevin Jacobs
Kjetil Jacobsen
Shantanu Jain
Bertrand Janin
Geert Jansen
Jack Jansen
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Fix an incorrect signature for :func:`pickle.loads` in the docs