Skip to content

[3.7] Docs: Add bz2 usage examples (GH-13258)#13294

Merged
miss-islington merged 1 commit into
python:3.7from
miss-islington:backport-be6939f-3.7
May 13, 2019
Merged

[3.7] Docs: Add bz2 usage examples (GH-13258)#13294
miss-islington merged 1 commit into
python:3.7from
miss-islington:backport-be6939f-3.7

Conversation

@miss-islington

Copy link
Copy Markdown
Contributor
  • 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
      (cherry picked from commit be6939f)

Co-authored-by: Brad brad.solomon.1124@gmail.com

* 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
(cherry picked from commit be6939f)

Co-authored-by: Brad <brad.solomon.1124@gmail.com>
@miss-islington

Copy link
Copy Markdown
Contributor Author

@bsolomon1124 and @gpshead: Status check is done, and it's a success ✅ .

@miss-islington miss-islington merged commit ee9b5ce into python:3.7 May 13, 2019
@miss-islington miss-islington deleted the backport-be6939f-3.7 branch May 13, 2019 18:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs Documentation in the Doc dir skip issue skip news

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants