diff options
author | Brad <brad.solomon.1124@gmail.com> | 2019-05-13 18:09:49 (GMT) |
---|---|---|
committer | Gregory P. Smith <greg@krypto.org> | 2019-05-13 18:09:49 (GMT) |
commit | be6939fb02e65b56c45377940b339d150b124d05 (patch) | |
tree | c55485561602d8a9a221e8f80238ac61caae0083 /Programs | |
parent | 95da83d9bac698d420cc308e8699ef6e4fae2aca (diff) | |
download | cpython-be6939fb02e65b56c45377940b339d150b124d05.zip cpython-be6939fb02e65b56c45377940b339d150b124d05.tar.gz cpython-be6939fb02e65b56c45377940b339d150b124d05.tar.bz2 |
Docs: Add bz2 usage examples (GH-13258)
* Docs: Add bz2 usage examples
- Adds an "Examples of usage" section inspired by the one
found in the gzip docs
- Corrects the descriptions for ``compresslevel`` and ``data``:
- ``compresslevel`` must be an `int`, not any number. For
instance, passing a float will raise ``TypeError``
- Notes that `data` must be bytes-like
Diffstat (limited to 'Programs')
0 files changed, 0 insertions, 0 deletions