Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[3.8] bpo-39435: Fix docs for pickle.loads (GH-18160) #19843

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 1, 2020
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 @@ -252,10 +252,10 @@ process more convenient:
.. versionchanged:: 3.8
The *buffers* argument was added.

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

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 @@ -769,6 +769,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