Mercurial > cpython-lru_cache-weakref
diff Doc/lib/libcodecs.tex @ 20580:376ee174ecd0 legacy-trunk
Use the \note and \warning macros where appropriate.
| author | Fred Drake <fdrake@acm.org> |
|---|---|
| date | Sat, 20 Oct 2001 04:24:09 +0000 |
| parents | bf4b1b08a2c6 |
| children | 09db3f5d0bd0 |
line wrap: on
line diff
--- a/Doc/lib/libcodecs.tex Sat Oct 20 04:18:14 2001 +0000 +++ b/Doc/lib/libcodecs.tex Sat Oct 20 04:24:09 2001 +0000 @@ -103,10 +103,10 @@ Open an encoded file using the given \var{mode} and return a wrapped version providing transparent encoding/decoding. -\strong{Note:} The wrapped version will only accept the object format +\note{The wrapped version will only accept the object format defined by the codecs, i.e.\ Unicode objects for most built-in codecs. Output is also codec-dependent and will usually be Unicode as -well. +well.} \var{encoding} specifies the encoding which is to be used for the the file. @@ -335,7 +335,7 @@ Read one line from the input stream and return the decoded data. - Note: Unlike the \method{readlines()} method, this method inherits + Unlike the \method{readlines()} method, this method inherits the line breaking knowledge from the underlying stream's \method{readline()} method -- there is currently no support for line breaking using the codec decoder due to lack of line buffering.
