diff options
author | Neal Norwitz <nnorwitz@gmail.com> | 2002-11-05 23:55:27 (GMT) |
---|---|---|
committer | Neal Norwitz <nnorwitz@gmail.com> | 2002-11-05 23:55:27 (GMT) |
commit | 110aa50cc244cd4c32ab90aeed6e2ad6515365b5 (patch) | |
tree | 47ff5feb46abda6e934f4c61843cc3cce17306b4 /Doc/lib | |
parent | 40b11b890c8d4df5d8ecfb1c333c96c47c005575 (diff) | |
download | cpython-110aa50cc244cd4c32ab90aeed6e2ad6515365b5.zip cpython-110aa50cc244cd4c32ab90aeed6e2ad6515365b5.tar.gz cpython-110aa50cc244cd4c32ab90aeed6e2ad6515365b5.tar.bz2 |
Fix minor wording and 2 typos
Diffstat (limited to 'Doc/lib')
-rw-r--r-- | Doc/lib/libbz2.tex | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Doc/lib/libbz2.tex b/Doc/lib/libbz2.tex index db10eb5..9a4423b 100644 --- a/Doc/lib/libbz2.tex +++ b/Doc/lib/libbz2.tex @@ -23,7 +23,7 @@ Here is a resume of the features offered by the bz2 module: \item \class{BZ2File} class implements universal newline support; \item \class{BZ2File} class offers an optimized line iteration using the readahead algorithm borrowed from file objects; -\item \class{BZ2File} class developed inheriting builtin file type +\item \class{BZ2File} class inherits from the builtin file type (\code{issubclass(BZ2File, file)} is \code{True}); \item Sequential (de)compression supported by \class{BZ2Compressor} and \class{BZ2Decompressor} classes; @@ -87,7 +87,7 @@ module. \end{methoddesc} \begin{methoddesc}[BZ2File]{\_\_iter\_\_}{} -Iterate trough the file lines. Iteration optimization is implemented +Iterate through the file lines. Iteration optimization is implemented using the same readahead algorithm available in \class{file} objects. \end{methoddesc} @@ -161,7 +161,7 @@ found after the end of stream, it'll be ignored and saved in \subsection{One-shot (de)compression} -One-shot compression and decompression is provided trough the +One-shot compression and decompression is provided through the \function{compress()} and \function{decompress()} functions. \begin{funcdesc}{compress}{data\optional{, compresslevel}} |