Skip to content

Commit

Permalink
Fix callback parameter type in `ssl.SSLContext.set_psk_server_callbac…
Browse files Browse the repository at this point in the history
…k` (#12932)
  • Loading branch information
brianschubert authored Oct 31, 2024
1 parent 355abb1 commit d262beb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion stdlib/_ssl.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ class _SSLContext:
if sys.version_info >= (3, 13):
def set_psk_client_callback(self, callback: Callable[[str | None], tuple[str | None, bytes]] | None) -> None: ...
def set_psk_server_callback(
self, callback: Callable[[str | None], tuple[str | None, bytes]] | None, identity_hint: str | None = None
self, callback: Callable[[str | None], bytes] | None, identity_hint: str | None = None
) -> None: ...

@final
Expand Down

0 comments on commit d262beb

Please sign in to comment.