Title: Python escape codes (\n, \t etc.) are missing the '\' for 3.8 and 3.9 docs · Issue #63 · python/python-docs-theme · GitHub
Open Graph Title: Python escape codes (\n, \t etc.) are missing the '\' for 3.8 and 3.9 docs · Issue #63 · python/python-docs-theme
X Title: Python escape codes (\n, \t etc.) are missing the '\' for 3.8 and 3.9 docs · Issue #63 · python/python-docs-theme
Description: I believe this commit (as part of python/cpython#23658) was intended to fix issues with the new way in which sphinx handles backslashes in the Python 3.10 documentation. The issue is that this commit also applied to the 3.8 and 3.9 docum...
Open Graph Description: I believe this commit (as part of python/cpython#23658) was intended to fix issues with the new way in which sphinx handles backslashes in the Python 3.10 documentation. The issue is that this comm...
X Description: I believe this commit (as part of python/cpython#23658) was intended to fix issues with the new way in which sphinx handles backslashes in the Python 3.10 documentation. The issue is that this comm...
Opengraph URL: https://github.com/python/python-docs-theme/issues/63
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Python escape codes (\\n, \\t etc.) are missing the '\\' for 3.8 and 3.9 docs","articleBody":"I believe [this commit](https://github.com/python/cpython/commit/dcc997cd28ab33ebac44182ee55533c1b37689f7) (as part of https://github.com/python/cpython/pull/23658) was intended to fix issues with the new way in which sphinx handles backslashes in the Python 3.10 documentation.\r\n\r\nThe issue is that this commit also applied to the 3.8 and 3.9 documentations, which doesn't have this new handling, and so results in escape codes (`\\n`, `\\t`, etc.) being escaped to just `n`, `t`, etc.\r\nE.g. the [print documentation](https://docs.python.org/3.8/library/functions.html#print) has `end='n'` instead of `end='\\n'`.\r\n\r\nI'm guessing the files for the 3.8 and 3.9 docs just need to be reverted back to the files from before this commit.\r\n\r\nNB: I'm not sure how the source links to different Python version's docs but the issue only applies to 3.8 and 3.9, not for the docs of Python \u003c3.8 or \u003e3.9.\r\n\r\n\r\nP.S I've not used GitHub much and this is my first time delving into the python docs source so apologies if I've stated/linked anything incorrectly.","author":{"url":"https://github.com/TizzySaurus","@type":"Person","name":"TizzySaurus"},"datePublished":"2021-01-02T16:03:15.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":2},"url":"https://github.com/63/python-docs-theme/issues/63"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:e368284a-66dc-efd8-5176-b55de425e50b |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A260:386F6E:165DCF:1E9FBC:6969D42E |
| html-safe-nonce | 106bcaebf6f5c944b0b9799565afe34b086f6e40d5ba5892c59de629df056030 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBMjYwOjM4NkY2RToxNjVEQ0Y6MUU5RkJDOjY5NjlENDJFIiwidmlzaXRvcl9pZCI6IjEzMDE3NzkyNTc0NjkwMzE0NzAiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 787338548f9f4a7a23b3db5292ad0fc935d707be3e1365a0f4fdb9070ea80520 |
| hovercard-subject-tag | issue:777482620 |
| github-keyboard-shortcuts | repository,issues,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/_view_fragments/issues/show/python/python-docs-theme/63/issue_layout |
| twitter:image | https://opengraph.githubassets.com/8299463f567dc109d60abe21774c6a2a53758bcbfe70665040809237556b968a/python/python-docs-theme/issues/63 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/8299463f567dc109d60abe21774c6a2a53758bcbfe70665040809237556b968a/python/python-docs-theme/issues/63 |
| og:image:alt | I believe this commit (as part of python/cpython#23658) was intended to fix issues with the new way in which sphinx handles backslashes in the Python 3.10 documentation. The issue is that this comm... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | TizzySaurus |
| hostname | github.com |
| expected-hostname | github.com |
| None | acedec8b5f975d9e3d494ddd8f949b0b8a0de59d393901e26f73df9dcba80056 |
| turbo-cache-control | no-preview |
| go-import | github.com/python/python-docs-theme git https://github.com/python/python-docs-theme.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 93341818 |
| octolytics-dimension-repository_nwo | python/python-docs-theme |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 93341818 |
| octolytics-dimension-repository_network_root_nwo | python/python-docs-theme |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 83c08c21cdda978090dc44364b71aa5bc6dcea79 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width