Skip to content

Commit 791d34e

Browse files
committed
PEP 748: server context create_buffer takes no server_hostname
1 parent 539e879 commit 791d34e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

peps/pep-0748.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -390,7 +390,7 @@ The ``ServerContext`` protocol class has the following class definition:
390390
...
391391
392392
@abstractmethod
393-
def create_buffer(self, server_hostname: str) -> TLSBuffer:
393+
def create_buffer(self) -> TLSBuffer:
394394
"""Creates a TLSBuffer that acts as an in-memory channel,
395395
and contains information about the TLS exchange
396396
(cipher, negotiated_protocol, negotiated_tls_version, etc.)."""

0 commit comments

Comments
 (0)