Skip to content

Commit 68a0d8f

Browse files
committed
fix broken docs
1 parent 3ef5d68 commit 68a0d8f

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

src/hpack/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,13 @@
88
from .hpack import Encoder, Decoder
99
from .struct import HeaderTuple, NeverIndexedHeaderTuple
1010
from .exceptions import (
11-
HPACKError, HPACKDecodingError, InvalidTableIndex, OversizedHeaderListError
11+
HPACKError, HPACKDecodingError, InvalidTableIndex, OversizedHeaderListError, InvalidTableSizeError
1212
)
1313

1414
__all__ = [
1515
'Encoder', 'Decoder', 'HPACKError', 'HPACKDecodingError',
1616
'InvalidTableIndex', 'HeaderTuple', 'NeverIndexedHeaderTuple',
17-
'OversizedHeaderListError'
17+
'OversizedHeaderListError', 'InvalidTableSizeError'
1818
]
1919

2020
__version__ = '4.0.0+dev'

src/hpack/hpack.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ def encode(self, headers, huffman=True):
187187
188188
:param headers: The headers to encode. Must be either an iterable of
189189
tuples, an iterable of :class:`HeaderTuple
190-
<hpack.struct.HeaderTuple>`, or a ``dict``.
190+
<hpack.HeaderTuple>`, or a ``dict``.
191191
192192
If an iterable of tuples, the tuples may be either
193193
two-tuples or three-tuples. If they are two-tuples, the
@@ -199,10 +199,10 @@ def encode(self, headers, huffman=True):
199199
``sensitive`` defaults to ``False``.
200200
201201
If an iterable of :class:`HeaderTuple
202-
<hpack.struct.HeaderTuple>`, the tuples must always be
202+
<hpack.HeaderTuple>`, the tuples must always be
203203
two-tuples. Instead of using ``sensitive`` as a third
204204
tuple entry, use :class:`NeverIndexedHeaderTuple
205-
<hpack.struct.NeverIndexedHeaderTuple>` to request that
205+
<hpack.NeverIndexedHeaderTuple>` to request that
206206
the field never be indexed.
207207
208208
.. warning:: HTTP/2 requires that all special headers

0 commit comments

Comments
 (0)