Title: gh-89554: Document socket, thread and expat type objects as classes by gaborbernat · Pull Request #150681 · python/cpython · GitHub
Open Graph Title: gh-89554: Document socket, thread and expat type objects as classes by gaborbernat · Pull Request #150681 · python/cpython
X Title: gh-89554: Document socket, thread and expat type objects as classes by gaborbernat · Pull Request #150681 · python/cpython
Description: socket.SocketType, _thread.LockType, and xml.parsers.expat.XMLParserType are classes (the type objects for socket, lock, and expat parser objects), but the documentation marks them with the .. data:: directive, so :class: cross-references to them cannot resolve against a py:class target. Switch these three entries to .. class::. Refs: gh-89554. Documentation-only change, so no Misc/NEWS entry (skip news). These files are not covered by CODEOWNERS, so cc @vstinner (socket and _thread) and @picnixz (pyexpat), who review most changes to these modules.
Open Graph Description: socket.SocketType, _thread.LockType, and xml.parsers.expat.XMLParserType are classes (the type objects for socket, lock, and expat parser objects), but the documentation marks them with the .. data...
X Description: socket.SocketType, _thread.LockType, and xml.parsers.expat.XMLParserType are classes (the type objects for socket, lock, and expat parser objects), but the documentation marks them with the .. data...
Opengraph URL: https://github.com/python/cpython/pull/150681
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:f494be30-b5d7-a28d-a736-1f0dfee3a70e |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | C728:2B7B13:294FFE:39FD6E:6A546CD1 |
| html-safe-nonce | f417120820830ba0be5fab845fa79aabb0e194d98115da78f783d85c5f010cec |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDNzI4OjJCN0IxMzoyOTRGRkU6MzlGRDZFOjZBNTQ2Q0QxIiwidmlzaXRvcl9pZCI6IjE4OTE5ODg3NDU1NjMxNzIwNDkiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 74b5c3ff9bacb9af2f5d9662afff0c337348a5adf204dcf1bf44e824d38c8ead |
| hovercard-subject-tag | pull_request:3776974210 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/python/cpython/pull/150681/files |
| twitter:image | https://avatars.githubusercontent.com/u/690238?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/690238?s=400&v=4 |
| og:image:alt | socket.SocketType, _thread.LockType, and xml.parsers.expat.XMLParserType are classes (the type objects for socket, lock, and expat parser objects), but the documentation marks them with the .. data... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | b9a586c06a05a7a86fc7e3f4dbd03e42f6869085879aa184aa6369456dbd50fb |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/python/cpython git https://github.com/python/cpython.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 81598961 |
| octolytics-dimension-repository_nwo | python/cpython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 81598961 |
| octolytics-dimension-repository_network_root_nwo | python/cpython |
| turbo-body-classes | logged-out env-production page-responsive full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 6d28624802c2f7d9500239dd6870ed7031b7353b |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width