Skip to content

Commit

Permalink
docs: fix function parameter reference
Browse files Browse the repository at this point in the history
fixes #159
  • Loading branch information
Kriechi committed Jun 6, 2021
1 parent 5632eb8 commit 554fcad
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
14 changes: 7 additions & 7 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ dev

-

**API Changes (Backward-compatible)**
**API Changes (Backward Compatible)**

-

Expand All @@ -19,15 +19,15 @@ dev
6.0.1 (2021-04-17)
------------------

**API Changes (Backward-compatible)**
**API Changes (Backward Compatible)**

- Added support for Python 3.9.
- Added type hints.

6.0.0 (2020-09-06)
------------------

**API Changes (Backward-incompatible)**
**API Changes (Backward Incompatible)**

- Introduce ``HyperframeError`` base exception class for all errors raised within hyperframe.
- Change exception base class of ``UnknownFrameError`` to ``HyperframeError``
Expand All @@ -37,7 +37,7 @@ dev
- Invalid SETTINGS frames (non-empty but ACK) now raise ``InvalidDataError``.
- Invalid ALTSVC frames with non-bytestring field or origin now raise ``InvalidDataError``.

**API Changes (Backward-compatible)**
**API Changes (Backward Compatible)**

- Deprecate ``total_padding`` - use `pad_length` instead.
- Improve repr() output for all frame classes.
Expand All @@ -60,7 +60,7 @@ dev
5.2.0 (2019-01-18)
------------------

**API Changes (Backward-compatible)**
**API Changes (Backward Compatible)**

- Add a new ENABLE_CONNECT_PROTOCOL settings parameter.

Expand All @@ -72,7 +72,7 @@ dev
5.1.0 (2017-04-24)
------------------

**API Changes (Backward-compatible)**
**API Changes (Backward Compatible)**

- Added support for ``DataFrame.data`` being a ``memoryview`` object.

Expand Down Expand Up @@ -119,7 +119,7 @@ dev
3.2.0 (2016-02-02)
------------------

**API Changes (Backward-compatible)**
**API Changes (Backward Compatible)**

- Invalid PING frame bodies now raise ``InvalidFrameError``, not
``ValueError``. Note that ``InvalidFrameError`` is a ``ValueError`` subclass.
Expand Down
2 changes: 1 addition & 1 deletion src/hyperframe/frame.py
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ def parse_frame_header(header: memoryview, strict: bool = False) -> Tuple["Frame
type is received.
.. versionchanged:: 5.0.0
Added :param:`strict` to accommodate :class:`ExtensionFrame`
Added ``strict`` parameter to accommodate :class:`ExtensionFrame`
"""
try:
fields = _STRUCT_HBBBL.unpack(header)
Expand Down

0 comments on commit 554fcad

Please sign in to comment.