Rebuild the docs around tested examples; shrink README.v2.md to a pitch (#2978)
This commit is contained in:
parent
4caa41f6d5
commit
411a6d3980
1 changed files with 9510 additions and 2639 deletions
|
|
@ -207,7 +207,7 @@ class Client:
|
|||
def __post_init__(self) -> None:
|
||||
if self.mode not in ("legacy", "auto") and self.mode not in MODERN_PROTOCOL_VERSIONS:
|
||||
hint = (
|
||||
f" ({self.mode!r} is a handshake-era version — use mode='legacy')"
|
||||
f" ({self.mode!r} is a handshake-era version; use mode='legacy')"
|
||||
if self.mode in HANDSHAKE_PROTOCOL_VERSIONS
|
||||
else ""
|
||||
)
|
||||
|
|
|
|||
Loading…
Reference in a new issue