diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2020-05-02 06:38:01 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-02 06:38:01 (GMT) |
commit | 531d1e541284bfd7944f8c66a5e8c3c3234afaff (patch) | |
tree | 877a425117074ca43bc46db97a145a53f34dcebb /Doc | |
parent | d2baff4301387e232495491f7291903cc1217d21 (diff) | |
download | cpython-531d1e541284bfd7944f8c66a5e8c3c3234afaff.zip cpython-531d1e541284bfd7944f8c66a5e8c3c3234afaff.tar.gz cpython-531d1e541284bfd7944f8c66a5e8c3c3234afaff.tar.bz2 |
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')
-rw-r--r-- | Doc/library/pickle.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/pickle.rst b/Doc/library/pickle.rst index d92e947..b7c3452 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`. |