| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
Sorry, something went wrong.
|
Most changes to Python require a NEWS entry. Please add it using the blurb_it web app or the blurb command-line tool. |
Sorry, something went wrong.
|
You don't need NEWS, please delete it. A |
Sorry, something went wrong.
There was a problem hiding this comment.
Two wording suggestions.
A
Sorry, something went wrong.
| This is the base class for a type object of socket objects, and | ||
| ``isinstance(socket(...), SocketType)`` returns ``True``. |
There was a problem hiding this comment.
| This is the base class for a type object of socket objects, and | |
| ``isinstance(socket(...), SocketType)`` returns ``True``. | |
| This is the base class for socket objects, such that | |
| ``isinstance(socket(...), SocketType)`` is ``True``. |
Sorry, something went wrong.
There was a problem hiding this comment.
Thank you for your professional advice. As we can see, socket.SocketType is the base class for the type object socket.socket. Consider that elsewhere in this document socket object refers to an instance of the type object socket.socket. Wouldn't it be less precise if we just said that SocketType is the base class of socket objects? Looking forward to your more suggestions.
Sorry, something went wrong.
| ``isinstance(socket(...), SocketType)`` returns ``True``. | ||
|
|
||
| .. versionchanged:: 3.0 | ||
| SocketType is now the base class for the socket object type. |
There was a problem hiding this comment.
| SocketType is now the base class for the socket object type. | |
| SocketType is the base class for socket objects | |
| rather than being ``type(socket(...))``` directly. |
Sorry, something went wrong.
|
|
||
| .. versionchanged:: 3.0 | ||
| SocketType is the base class for the socket object type rather than | ||
| being ``type(socket(...))``` directly. |
There was a problem hiding this comment.
There is a RST marker error:
| being ``type(socket(...))``` directly. | |
| being ``type(socket(...))`` directly. |
Sorry, something went wrong.
|
This PR is stale because it has been open for 30 days with no activity. |
Sorry, something went wrong.
|
This PR is stale because it has been open for 90 days with no activity. |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
In the previous commit, SocketType was changed to the base class for the socket object type.
The purpose of this PR is to align the documentation with the above modifications.