Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

grammatical error in ssl.SSLContext.sslsocket_class docstring #103723

Open
graingert opened this issue Apr 23, 2023 · 1 comment
Open

grammatical error in ssl.SSLContext.sslsocket_class docstring #103723

graingert opened this issue Apr 23, 2023 · 1 comment
Assignees
Labels
docs Documentation in the Doc dir

Comments

@graingert
Copy link
Contributor

graingert commented Apr 23, 2023

Documentation

https://docs.python.org/3.12/library/ssl.html#ssl.SSLContext.sslsocket_class
Currently it says:

The return type of SSLContext.wrap_socket(), defaults to SSLSocket. The attribute can be overridden on instance of class in order to return a custom subclass of SSLSocket.

@graingert graingert added the docs Documentation in the Doc dir label Apr 23, 2023
@graingert
Copy link
Contributor Author

Should probably be: The attribute can be assigned to on instances of SSLContext or overridden on subclasses of SSLContext in order to return a custom subclass of SSLSocket.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs Documentation in the Doc dir
Projects
None yet
Development

No branches or pull requests

2 participants