Title: [3.11] GH-97950: Fix old-style index directive in Doc/library/imp.rst by mattwang44 · Pull Request #107246 · python/cpython · GitHub
Open Graph Title: [3.11] GH-97950: Fix old-style index directive in Doc/library/imp.rst by mattwang44 · Pull Request #107246 · python/cpython
X Title: [3.11] GH-97950: Fix old-style index directive in Doc/library/imp.rst by mattwang44 · Pull Request #107246 · python/cpython
Description: I found the following message when building 3.11 doc: Warning, treated as error: 'statement' is deprecated for index entries (from entry 'statement: import'). Use 'pair: statement; import' instead. It's part of sphinx-doc/sphinx#11412 and was released with sphinx 7.1.0 yesterday. @AA-Turner resolved most issues in #104162 (and its 3.11 backport PR is #104163). However, imp module was removed in 3.12 before that and the old index directive in library/imp.rst seems to be omitted. Issue: gh-97950 📚 Documentation preview 📚: https://cpython-previews--107246.org.readthedocs.build/
Open Graph Description: I found the following message when building 3.11 doc: Warning, treated as error: 'statement' is deprecated for index entries (from entry 'statement: import'). Use 'pair: stateme...
X Description: I found the following message when building 3.11 doc: Warning, treated as error: 'statement' is deprecated for index entries (from entry 'statement: import'). Use &a...
Opengraph URL: https://github.com/python/cpython/pull/107246
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:e66d5dd5-59ae-beb1-398b-75cfee7c25db |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 9880:301463:86A9E3:AFFF2C:696B4F2F |
| html-safe-nonce | 2f7e1a57927d704dd8a72735541560eaa74408323c51af5a16b2127b7ba03b86 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5ODgwOjMwMTQ2Mzo4NkE5RTM6QUZGRjJDOjY5NkI0RjJGIiwidmlzaXRvcl9pZCI6IjY2NzI5MDc3NTQwMjE4MDE3NzUiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 676f8a6ed0ac0911ab0c68209184720bfed22a474382fd6ff69d963a09dce55c |
| hovercard-subject-tag | pull_request:1448532335 |
| 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/107246/files |
| twitter:image | https://avatars.githubusercontent.com/u/24987826?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/24987826?s=400&v=4 |
| og:image:alt | I found the following message when building 3.11 doc: Warning, treated as error: 'statement' is deprecated for index entries (from entry 'statement: import'). Use 'pair: stateme... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5f99f7c1d70f01da5b93e5ca90303359738944d8ab470e396496262c66e60b8d |
| 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 |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 82560a55c6b2054555076f46e683151ee28a19bc |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width