mirror of
https://github.com/python/cpython.git
synced 2025-08-03 00:23:06 +00:00
bpo-39435: Fix docs for pickle.loads (GH-18160)
This commit is contained in:
parent
64224a4727
commit
289842ae82
3 changed files with 4 additions and 2 deletions
|
@ -252,10 +252,10 @@ process more convenient:
|
||||||
.. versionchanged:: 3.8
|
.. versionchanged:: 3.8
|
||||||
The *buffers* argument was added.
|
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
|
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
|
The protocol version of the pickle is detected automatically, so no
|
||||||
protocol argument is needed. Bytes past the pickled representation
|
protocol argument is needed. Bytes past the pickled representation
|
||||||
|
|
|
@ -790,6 +790,7 @@ Manuel Jacob
|
||||||
David Jacobs
|
David Jacobs
|
||||||
Kevin Jacobs
|
Kevin Jacobs
|
||||||
Kjetil Jacobsen
|
Kjetil Jacobsen
|
||||||
|
Shantanu Jain
|
||||||
Bertrand Janin
|
Bertrand Janin
|
||||||
Geert Jansen
|
Geert Jansen
|
||||||
Jack Jansen
|
Jack Jansen
|
||||||
|
|
|
@ -0,0 +1 @@
|
||||||
|
Fix an incorrect signature for :func:`pickle.loads` in the docs
|
Loading…
Add table
Add a link
Reference in a new issue