summaryrefslogtreecommitdiffstats
path: root/Programs
diff options
context:
space:
mode:
authorBrad <brad.solomon.1124@gmail.com>2019-05-13 18:09:49 (GMT)
committerGregory P. Smith <greg@krypto.org>2019-05-13 18:09:49 (GMT)
commitbe6939fb02e65b56c45377940b339d150b124d05 (patch)
treec55485561602d8a9a221e8f80238ac61caae0083 /Programs
parent95da83d9bac698d420cc308e8699ef6e4fae2aca (diff)
downloadcpython-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