commit | 5149742e8b3c8221d4cb53dcfc9a12ae3fec9238 | [log] [tgz] |
---|---|---|
author | Jeroen Ruigrok van der Werven <asmodai@in-nomine.org> | Thu Feb 19 18:52:21 2009 +0000 |
committer | Jeroen Ruigrok van der Werven <asmodai@in-nomine.org> | Thu Feb 19 18:52:21 2009 +0000 |
tree | d3b7dbc021eeed177f453603f8f59f0ad01b2e0e | |
parent | a630735b31b5ee0a1a59b3b28299e26a7ee74d9f [diff] [blame] |
Since we recommend one module per import line, reflect this also in the documentation.
diff --git a/Doc/library/pickle.rst b/Doc/library/pickle.rst index a99dc86..8d153ec 100644 --- a/Doc/library/pickle.rst +++ b/Doc/library/pickle.rst
@@ -708,7 +708,8 @@ pickle-containing file, you should open the file in binary mode because you can't be sure if the ASCII or binary format was used. :: - import pprint, pickle + import pickle + import pprint pkl_file = open('data.pkl', 'rb')