Skip to content
Myr

Drop compat.py

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Tom Christie · committed by Tom Christie · parent 66594e3 · Browse files · 2 files+4 added−5 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

2 files+4 added−5 removed

  • other:+4 added−5 removed

2 files+4 added−5 removed

deleted:httpcore/compat.py-4 removed
1try:2 import brotli3except ImportError: # pragma: nocover4 brotli = None
modified:httpcore/decoders.py+4 added-1 removed
4 unmodified lines
5"""6import typing7import zlib89try:9from .compat import brotli10 import brotli11except ImportError: # pragma: nocover12 brotli = None131415class Decoder:16 def decode(self, data: bytes) -> bytes:
110 unmodified lines