Commit 48aa82e2 authored by Guido van Rossum's avatar Guido van Rossum

correct typo in example

parent 96628a90
...@@ -92,7 +92,7 @@ To pickle an object x onto a file f, open for writing: ...@@ -92,7 +92,7 @@ To pickle an object x onto a file f, open for writing:
To unpickle an object x from a file f, open for reading: To unpickle an object x from a file f, open for reading:
u = pickle.Unpickler(f) u = pickle.Unpickler(f)
x = u.load(x) x = u.load()
The Pickler class only calls the method f.write with a string argument The Pickler class only calls the method f.write with a string argument
(XXX possibly the interface should pass f.write instead of f). (XXX possibly the interface should pass f.write instead of f).
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment