Skip to content

Commit ffefcf0

Browse files
author
hauntsaninja
committed
bpo-39435: Fix docs for pickle.loads
1 parent 65ecc39 commit ffefcf0

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

Doc/library/pickle.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -252,10 +252,10 @@ process more convenient:
252252
.. versionchanged:: 3.8
253253
The *buffers* argument was added.
254254

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

257257
Return the reconstituted object hierarchy of the pickled representation
258-
*bytes_object* of an object.
258+
*data* of an object.
259259

260260
The protocol version of the pickle is detected automatically, so no
261261
protocol argument is needed. Bytes past the pickled representation

Misc/ACKS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -776,6 +776,7 @@ Manuel Jacob
776776
David Jacobs
777777
Kevin Jacobs
778778
Kjetil Jacobsen
779+
Shantanu Jain
779780
Bertrand Janin
780781
Geert Jansen
781782
Jack Jansen

0 commit comments

Comments
 (0)