@@ -170,12 +170,12 @@ \subsection{Usage}
170170The \module {pickle} module provides the
171171following functions to make this process more convenient:
172172
173- \begin {funcdesc }{dump}{object , file\optional {, protocol\optional {, bin}}}
174- Write a pickled representation of \var {object } to the open file object
173+ \begin {funcdesc }{dump}{obj , file\optional {, protocol\optional {, bin}}}
174+ Write a pickled representation of \var {obj } to the open file object
175175\var {file}. This is equivalent to
176- \code {Pickler(\var {file}, \var {protocol}, \var {bin}).dump(\var {object })}.
176+ \code {Pickler(\var {file}, \var {protocol}, \var {bin}).dump(\var {obj })}.
177177
178- If the \var {protocol} parameter is ommitted , protocol 0 is used.
178+ If the \var {protocol} parameter is omitted , protocol 0 is used.
179179If \var {protocol} is specified as a negative value
180180or \constant {HIGHEST_PROTOCOL},
181181the highest protocol version will be used.
@@ -211,11 +211,11 @@ \subsection{Usage}
211211written in binary mode or not.
212212\end {funcdesc }
213213
214- \begin {funcdesc }{dumps}{object \optional {, protocol\optional {, bin}}}
214+ \begin {funcdesc }{dumps}{obj \optional {, protocol\optional {, bin}}}
215215Return the pickled representation of the object as a string, instead
216216of writing it to a file.
217217
218- If the \var {protocol} parameter is ommitted , protocol 0 is used.
218+ If the \var {protocol} parameter is omitted , protocol 0 is used.
219219If \var {protocol} is specified as a negative value
220220or \constant {HIGHEST_PROTOCOL},
221221the highest protocol version will be used.
@@ -266,7 +266,7 @@ \subsection{Usage}
266266This takes a file-like object to which it will write a pickle data
267267stream.
268268
269- If the \var {protocol} parameter is ommitted , protocol 0 is used.
269+ If the \var {protocol} parameter is omitted , protocol 0 is used.
270270If \var {protocol} is specified as a negative value,
271271the highest protocol version will be used.
272272
@@ -286,8 +286,8 @@ \subsection{Usage}
286286
287287\class {Pickler} objects define one (or two) public methods:
288288
289- \begin {methoddesc }[Pickler]{dump}{object }
290- Write a pickled representation of \var {object } to the open file object
289+ \begin {methoddesc }[Pickler]{dump}{obj }
290+ Write a pickled representation of \var {obj } to the open file object
291291given in the constructor. Either the binary or \ASCII {} format will
292292be used, depending on the value of the \var {bin} flag passed to the
293293constructor.
0 commit comments