summaryrefslogtreecommitdiff
path: root/Doc/library/pickle.rst
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2020-05-02 09:38:01 +0300
committerGitHub <noreply@github.com>2020-05-02 09:38:01 +0300
commit531d1e541284bfd7944f8c66a5e8c3c3234afaff (patch)
tree877a425117074ca43bc46db97a145a53f34dcebb /Doc/library/pickle.rst
parentd2baff4301387e232495491f7291903cc1217d21 (diff)
downloadcpython-git-531d1e541284bfd7944f8c66a5e8c3c3234afaff.tar.gz
bpo-39435: Make the first argument of pickle.loads() positional-only. (GH-19846)
It was positional-only de facto: documentation and two implementations used three different name.
Diffstat (limited to 'Doc/library/pickle.rst')
-rw-r--r--Doc/library/pickle.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/pickle.rst b/Doc/library/pickle.rst
index d92e947a76..b7c3452771 100644
--- a/Doc/library/pickle.rst
+++ b/Doc/library/pickle.rst
@@ -252,7 +252,7 @@ process more convenient:
.. versionchanged:: 3.8
The *buffers* argument was added.
-.. function:: loads(data, \*, 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
*data* of an object. *data* must be a :term:`bytes-like object`.