@@ -255,12 +255,12 @@ \subsection{Message Objects \label{message-objects}}
255255In particular: \code {\var {m}[name]} is like
256256\code {\var {m}.getheader(name)} but raises \exception {KeyError} if
257257there is no matching header; and \code {len(\var {m})},
258- \code {\var {m}.get(name\optional {, deafult })},
259- \code {\var {m}.has_key(name)}, \code {\var {m}.keys()},
258+ \code {\var {m}.get(\var { name} \optional {\var {, default} })},
259+ \code {\var {m}.has_key(\var { name} )}, \code {\var {m}.keys()},
260260\code {\var {m}.values()} \code {\var {m}.items()}, and
261- \code {\var {m}.setdefault(name\optional {, default})} act as expected,
262- with the one difference that \method {get()} and \method { setdefault()}
263- use an empty string as the default value. \class {Message} instances
261+ \code {\var {m}.setdefault(\var { name} \optional {\var { , default}} )} act as
262+ expected, with the one difference that \method {setdefault()} uses
263+ an empty string as the default value. \class {Message} instances
264264also support the mapping writable interface \code {\var {m}[name] =
265265value} and \code {del \var {m}[name]}. \class {Message} objects do not
266266support the \method {clear()}, \method {copy()}, \method {popitem()}, or
0 commit comments