diff options
author | Fred Drake <fdrake@acm.org> | 2001-10-20 04:24:09 (GMT) |
---|---|---|
committer | Fred Drake <fdrake@acm.org> | 2001-10-20 04:24:09 (GMT) |
commit | 0aa811c527372fbee0e20192bba3cf343a744e08 (patch) | |
tree | ab0d86073c96b664d6b9d87ea84cdb8cdb263755 /Doc/lib/libcodecs.tex | |
parent | 64a5aaf05ca20bdbd72c30fa0cfdda2ae9a347d9 (diff) | |
download | cpython-0aa811c527372fbee0e20192bba3cf343a744e08.zip cpython-0aa811c527372fbee0e20192bba3cf343a744e08.tar.gz cpython-0aa811c527372fbee0e20192bba3cf343a744e08.tar.bz2 |
Use the \note and \warning macros where appropriate.
Diffstat (limited to 'Doc/lib/libcodecs.tex')
-rw-r--r-- | Doc/lib/libcodecs.tex | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Doc/lib/libcodecs.tex b/Doc/lib/libcodecs.tex index 844f6ec..396b4b3 100644 --- a/Doc/lib/libcodecs.tex +++ b/Doc/lib/libcodecs.tex @@ -103,10 +103,10 @@ also defines these utility functions: 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 @@ order to be compatible to the Python codec registry. 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. |