| route-pattern | /_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format) |
| route-controller | voltron_pull_requests_fragments |
| route-action | pull_request_layout |
| fetch-nonce | v2:e867f886-38cc-4f9d-9775-5b2eac09e3a0 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | C3B2:2C3E22:7D59B8:A24D9A:696AEDC8 |
| html-safe-nonce | 4bd9dfecb82110ed2b042d650e27c92ebffef9c89f9271bcbc78743671a88b5d |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDM0IyOjJDM0UyMjo3RDU5Qjg6QTI0RDlBOjY5NkFFREM4IiwidmlzaXRvcl9pZCI6IjY5MDM3NTc0MDU3NTM2MzQyNDgiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | f2aaff3f01ff6556b8947fea2fa1d3dc21e90bbab8fa18d73ae5ee6ec49a0ce8 |
| hovercard-subject-tag | pull_request:3157295338 |
| 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 | ///voltron/pull_requests_fragments/pull_request_layout |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/python/cpython/143580/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/2044ed714c6917eb3bde2b0e9982f3fe7672c61f051f4cc52aca7be3e31a1877/python/cpython/pull/143580 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/2044ed714c6917eb3bde2b0e9982f3fe7672c61f051f4cc52aca7be3e31a1877/python/cpython/pull/143580 |
| og:image:alt | WIP to #106318
#106318: Improve str.removeprefix() and str.removesuffix() docs.
📚 Documentation preview 📚: https://cpython-previews--143580.org.readthedocs.build/
Issue: Add examples to docs f... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | adorilson |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5f99f7c1d70f01da5b93e5ca90303359738944d8ab470e396496262c66e60b8d |
| turbo-cache-control | no-preview |
| 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 | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 82560a55c6b2054555076f46e683151ee28a19bc |
| ui-target | canary-1 |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/python/cpython/pull/143580#start-of-content |
|
| https://github.com/ |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F143580 |
| GitHub CopilotWrite better code with AI | https://github.com/features/copilot |
| GitHub SparkBuild and deploy intelligent apps | https://github.com/features/spark |
| GitHub ModelsManage and compare prompts | https://github.com/features/models |
| MCP RegistryNewIntegrate external tools | https://github.com/mcp |
| ActionsAutomate any workflow | https://github.com/features/actions |
| CodespacesInstant dev environments | https://github.com/features/codespaces |
| IssuesPlan and track work | https://github.com/features/issues |
| Code ReviewManage code changes | https://github.com/features/code-review |
| GitHub Advanced SecurityFind and fix vulnerabilities | https://github.com/security/advanced-security |
| Code securitySecure your code as you build | https://github.com/security/advanced-security/code-security |
| Secret protectionStop leaks before they start | https://github.com/security/advanced-security/secret-protection |
| Why GitHub | https://github.com/why-github |
| Documentation | https://docs.github.com |
| Blog | https://github.blog |
| Changelog | https://github.blog/changelog |
| Marketplace | https://github.com/marketplace |
| View all features | https://github.com/features |
| Enterprises | https://github.com/enterprise |
| Small and medium teams | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| App Modernization | https://github.com/solutions/use-case/app-modernization |
| DevSecOps | https://github.com/solutions/use-case/devsecops |
| DevOps | https://github.com/solutions/use-case/devops |
| CI/CD | https://github.com/solutions/use-case/ci-cd |
| View all use cases | https://github.com/solutions/use-case |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| View all industries | https://github.com/solutions/industry |
| View all solutions | https://github.com/solutions |
| AI | https://github.com/resources/articles?topic=ai |
| Software Development | https://github.com/resources/articles?topic=software-development |
| DevOps | https://github.com/resources/articles?topic=devops |
| Security | https://github.com/resources/articles?topic=security |
| View all topics | https://github.com/resources/articles |
| Customer stories | https://github.com/customer-stories |
| Events & webinars | https://github.com/resources/events |
| Ebooks & reports | https://github.com/resources/whitepapers |
| Business insights | https://github.com/solutions/executive-insights |
| GitHub Skills | https://skills.github.com |
| Documentation | https://docs.github.com |
| Customer support | https://support.github.com |
| Community forum | https://github.com/orgs/community/discussions |
| Trust center | https://github.com/trust-center |
| Partners | https://github.com/partners |
| GitHub SponsorsFund open source developers | https://github.com/sponsors |
| Security Lab | https://securitylab.github.com |
| Maintainer Community | https://maintainers.github.com |
| Accelerator | https://github.com/accelerator |
| Archive Program | https://archiveprogram.github.com |
| Topics | https://github.com/topics |
| Trending | https://github.com/trending |
| Collections | https://github.com/collections |
| Enterprise platformAI-powered developer platform | https://github.com/enterprise |
| GitHub Advanced SecurityEnterprise-grade security features | https://github.com/security/advanced-security |
| Copilot for BusinessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/premium-support |
| Pricing | https://github.com/pricing |
| Search syntax tips | https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax |
| documentation | https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F143580 |
|
Sign up
| https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=python%2Fcpython |
| Reload | https://github.com/python/cpython/pull/143580 |
| Reload | https://github.com/python/cpython/pull/143580 |
| Reload | https://github.com/python/cpython/pull/143580 |
|
python
| https://github.com/python |
| cpython | https://github.com/python/cpython |
| Please reload this page | https://github.com/python/cpython/pull/143580 |
|
Notifications
| https://github.com/login?return_to=%2Fpython%2Fcpython |
|
Fork
33.9k
| https://github.com/login?return_to=%2Fpython%2Fcpython |
|
Star
71.1k
| https://github.com/login?return_to=%2Fpython%2Fcpython |
|
Code
| https://github.com/python/cpython |
|
Issues
5k+
| https://github.com/python/cpython/issues |
|
Pull requests
2.1k
| https://github.com/python/cpython/pulls |
|
Actions
| https://github.com/python/cpython/actions |
|
Projects
31
| https://github.com/python/cpython/projects |
|
Security
Uh oh!
There was an error while loading. Please reload this page.
| https://github.com/python/cpython/security |
| Please reload this page | https://github.com/python/cpython/pull/143580 |
|
Insights
| https://github.com/python/cpython/pulse |
|
Code
| https://github.com/python/cpython |
|
Issues
| https://github.com/python/cpython/issues |
|
Pull requests
| https://github.com/python/cpython/pulls |
|
Actions
| https://github.com/python/cpython/actions |
|
Projects
| https://github.com/python/cpython/projects |
|
Security
| https://github.com/python/cpython/security |
|
Insights
| https://github.com/python/cpython/pulse |
| Sign up for GitHub
| https://github.com/signup?return_to=%2Fpython%2Fcpython%2Fissues%2Fnew%2Fchoose |
| terms of service | https://docs.github.com/terms |
| privacy statement | https://docs.github.com/privacy |
| Sign in | https://github.com/login?return_to=%2Fpython%2Fcpython%2Fissues%2Fnew%2Fchoose |
| Jump to bottom | https://github.com/python/cpython/pull/143580#issue-comment-box |
| vstinner | https://github.com/vstinner |
| python:main | https://github.com/python/cpython/tree/main |
| adorilson:106318.removesuffix | https://github.com/adorilson/cpython/tree/106318.removesuffix |
|
gh-106318: Improve str.removeprefix() and str.removesuffix() docs
| https://github.com/python/cpython/pull/143580#top |
| vstinner | https://github.com/vstinner |
| python:main | https://github.com/python/cpython/tree/main |
| adorilson:106318.removesuffix | https://github.com/adorilson/cpython/tree/106318.removesuffix |
|
Conversation
4
| https://github.com/python/cpython/pull/143580 |
|
Commits
2
| https://github.com/python/cpython/pull/143580/commits |
|
Checks
41
| https://github.com/python/cpython/pull/143580/checks |
|
Files changed
1
| https://github.com/python/cpython/pull/143580/files |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/{{ revealButtonHref }} |
|
| https://github.com/adorilson |
| adorilson | https://github.com/adorilson |
| Jan 8, 2026 | https://github.com/python/cpython/pull/143580#issue-3794206260 |
| Please reload this page | https://github.com/python/cpython/pull/143580 |
| #106318 | https://github.com/python/cpython/issues/106318 |
| #106318 | https://github.com/python/cpython/issues/106318 |
| https://cpython-previews--143580.org.readthedocs.build/ | https://cpython-previews--143580.org.readthedocs.build/ |
| Add examples to docs for str methods #106318 | https://github.com/python/cpython/issues/106318 |
| Please reload this page | https://github.com/python/cpython/pull/143580 |
| adorilson | https://github.com/adorilson |
| January 8, 2026 19:33 | https://github.com/python/cpython/pull/143580#commits-pushed-37cef7e |
|
| https://github.com/adorilson |
| pythongh-106318 | https://github.com/python/cpython/issues/106318 |
| : Add doctest role and 'See also' for str.removeprefix() | https://github.com/python/cpython/pull/143580/commits/37cef7e6235642f06879c3f6662faace8cb6a1c8 |
| 37cef7e | https://github.com/python/cpython/pull/143580/commits/37cef7e6235642f06879c3f6662faace8cb6a1c8 |
|
| https://github.com/adorilson |
| pythongh-106318 | https://github.com/python/cpython/issues/106318 |
| : Add doctest role and 'See also' for str.removesuffix() | https://github.com/python/cpython/pull/143580/commits/3eb32bd4b8befaf9dc68e72fa0959330aac9b247 |
| 3eb32bd | https://github.com/python/cpython/pull/143580/commits/3eb32bd4b8befaf9dc68e72fa0959330aac9b247 |
| https://github.com/apps/bedevere-app |
| bedevere-app | https://github.com/apps/bedevere-app |
|
docs
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3Adocs |
|
skip news
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22skip%20news%22 |
| Jan 8, 2026 | https://github.com/python/cpython/pull/143580#event-21931413694 |
| https://github.com/apps/github-project-automation |
| github-project-automation | https://github.com/apps/github-project-automation |
| Docs PRs | https://github.com/orgs/python/projects/50 |
| Jan 8, 2026 | https://github.com/python/cpython/pull/143580#event-21931414122 |
| https://github.com/apps/bedevere-app |
| bedevere-app | https://github.com/apps/bedevere-app |
|
awaiting review
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20review%22 |
| Jan 8, 2026 | https://github.com/python/cpython/pull/143580#event-21931414196 |
| https://github.com/apps/github-project-automation |
| github-project-automation | https://github.com/apps/github-project-automation |
| Docs PRs | https://github.com/orgs/python/projects/50 |
| Jan 8, 2026 | https://github.com/python/cpython/pull/143580#event-21931414358 |
| https://github.com/adorilson |
| adorilson | https://github.com/adorilson |
|
Jan 8, 2026
| https://github.com/python/cpython/pull/143580#ref-pullrequest-3794157831 |
|
gh-106318: Add doctest role and 'See also' for str.removeprefix()
#143579
| https://github.com/python/cpython/pull/143579 |
| https://github.com/adorilson |
| adorilson | https://github.com/adorilson |
| Jan 8, 2026 | https://github.com/python/cpython/pull/143580#event-21931437686 |
| https://github.com/apps/bedevere-app |
| bedevere-app | https://github.com/apps/bedevere-app |
|
Jan 8, 2026
| https://github.com/python/cpython/pull/143580#ref-issue-1784190846 |
|
Add examples to docs for str methods
#106318
| https://github.com/python/cpython/issues/106318 |
| https://github.com/vstinner |
| vstinner | https://github.com/vstinner |
|
needs backport to 3.13
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22needs%20backport%20to%203.13%22 |
|
needs backport to 3.14
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22needs%20backport%20to%203.14%22 |
| Jan 9, 2026 | https://github.com/python/cpython/pull/143580#event-21949859356 |
| https://github.com/vstinner |
| vstinner | https://github.com/vstinner |
| 6d6c7ed | https://github.com/python/cpython/commit/6d6c7ed73786915d16f6ac3d8b6e6d67f404209f |
| Jan 9, 2026 | https://github.com/python/cpython/pull/143580#event-21949869821 |
| Please reload this page | https://github.com/python/cpython/pull/143580 |
| https://github.com/apps/bedevere-app |
| bedevere-app | https://github.com/apps/bedevere-app |
|
awaiting review
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20review%22 |
| Jan 9, 2026 | https://github.com/python/cpython/pull/143580#event-21949871113 |
| https://github.com/apps/github-project-automation |
| github-project-automation | https://github.com/apps/github-project-automation |
| Docs PRs | https://github.com/orgs/python/projects/50 |
| Jan 9, 2026 | https://github.com/python/cpython/pull/143580#event-21949871814 |
| https://github.com/apps/miss-islington-app |
| miss-islington-app | https://github.com/apps/miss-islington-app |
| Jan 9, 2026 | https://github.com/python/cpython/pull/143580#issuecomment-3729367048 |
| @adorilson | https://github.com/adorilson |
| @vstinner | https://github.com/vstinner |
| Please reload this page | https://github.com/python/cpython/pull/143580 |
| miss-islington | https://github.com/miss-islington |
|
Jan 9, 2026
| https://github.com/python/cpython/pull/143580#ref-commit-730b927 |
|
| https://github.com/adorilson |
|
| https://github.com/miss-islington |
| pythongh-106318 | https://github.com/python/cpython/issues/106318 |
| : Improve str.removeprefix() and str.removesuffix() do… | https://github.com/miss-islington/cpython/commit/730b927e4283995b74ad7b80ea8525fc77da7533 |
| 730b927 | https://github.com/miss-islington/cpython/commit/730b927e4283995b74ad7b80ea8525fc77da7533 |
| pythonGH-143580 | https://github.com/python/cpython/pull/143580 |
| 6d6c7ed | https://github.com/miss-islington/cpython/commit/6d6c7ed73786915d16f6ac3d8b6e6d67f404209f |
| miss-islington | https://github.com/miss-islington |
|
Jan 9, 2026
| https://github.com/python/cpython/pull/143580#ref-commit-995dae0 |
|
| https://github.com/adorilson |
|
| https://github.com/miss-islington |
| pythongh-106318 | https://github.com/python/cpython/issues/106318 |
| : Improve str.removeprefix() and str.removesuffix() do… | https://github.com/miss-islington/cpython/commit/995dae0e1d705c7b5248720cea4817a8a4b1adf8 |
| 995dae0 | https://github.com/miss-islington/cpython/commit/995dae0e1d705c7b5248720cea4817a8a4b1adf8 |
| pythonGH-143580 | https://github.com/python/cpython/pull/143580 |
| 6d6c7ed | https://github.com/miss-islington/cpython/commit/6d6c7ed73786915d16f6ac3d8b6e6d67f404209f |
| https://github.com/apps/bedevere-app |
| bedevere-app | https://github.com/apps/bedevere-app |
| Jan 9, 2026 | https://github.com/python/cpython/pull/143580#issuecomment-3729368759 |
| GH-143614 | https://github.com/python/cpython/pull/143614 |
| 3.14 branch | https://github.com/python/cpython/tree/3.14 |
| Please reload this page | https://github.com/python/cpython/pull/143580 |
| https://github.com/apps/bedevere-app |
| bedevere-app | https://github.com/apps/bedevere-app |
|
needs backport to 3.14
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22needs%20backport%20to%203.14%22 |
| Jan 9, 2026 | https://github.com/python/cpython/pull/143580#event-21949876907 |
| https://github.com/apps/bedevere-app |
| bedevere-app | https://github.com/apps/bedevere-app |
| Jan 9, 2026 | https://github.com/python/cpython/pull/143580#issuecomment-3729369202 |
| GH-143615 | https://github.com/python/cpython/pull/143615 |
| 3.13 branch | https://github.com/python/cpython/tree/3.13 |
| Please reload this page | https://github.com/python/cpython/pull/143580 |
| https://github.com/apps/bedevere-app |
| bedevere-app | https://github.com/apps/bedevere-app |
|
needs backport to 3.13
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22needs%20backport%20to%203.13%22 |
| Jan 9, 2026 | https://github.com/python/cpython/pull/143580#event-21949878520 |
| https://github.com/vstinner |
| vstinner | https://github.com/vstinner |
| Jan 9, 2026 | https://github.com/python/cpython/pull/143580#issuecomment-3729371074 |
| Please reload this page | https://github.com/python/cpython/pull/143580 |
| vstinner | https://github.com/vstinner |
|
Jan 9, 2026
| https://github.com/python/cpython/pull/143580#ref-commit-ae62d2b |
|
| https://github.com/miss-islington |
|
| https://github.com/adorilson |
| [3.14] | https://github.com/python/cpython/commit/ae62d2bb31a6ad940a03d0d2856d28f484aa607a |
| gh-106318 | https://github.com/python/cpython/issues/106318 |
| : Improve str.removeprefix() and str.removesuffix() d… | https://github.com/python/cpython/commit/ae62d2bb31a6ad940a03d0d2856d28f484aa607a |
| ae62d2b | https://github.com/python/cpython/commit/ae62d2bb31a6ad940a03d0d2856d28f484aa607a |
| GH-143580 | https://github.com/python/cpython/pull/143580 |
| #143614 | https://github.com/python/cpython/pull/143614 |
| gh-106318 | https://github.com/python/cpython/issues/106318 |
| GH-143580 | https://github.com/python/cpython/pull/143580 |
| 6d6c7ed | https://github.com/python/cpython/commit/6d6c7ed73786915d16f6ac3d8b6e6d67f404209f |
| vstinner | https://github.com/vstinner |
|
Jan 9, 2026
| https://github.com/python/cpython/pull/143580#ref-commit-bf7990c |
|
| https://github.com/miss-islington |
|
| https://github.com/adorilson |
| [3.13] | https://github.com/python/cpython/commit/bf7990c0b9a243cdd5f875e8d300d8fbcbb04945 |
| gh-106318 | https://github.com/python/cpython/issues/106318 |
| : Improve str.removeprefix() and str.removesuffix() d… | https://github.com/python/cpython/commit/bf7990c0b9a243cdd5f875e8d300d8fbcbb04945 |
| bf7990c | https://github.com/python/cpython/commit/bf7990c0b9a243cdd5f875e8d300d8fbcbb04945 |
| GH-143580 | https://github.com/python/cpython/pull/143580 |
| #143615 | https://github.com/python/cpython/pull/143615 |
| gh-106318 | https://github.com/python/cpython/issues/106318 |
| GH-143580 | https://github.com/python/cpython/pull/143580 |
| 6d6c7ed | https://github.com/python/cpython/commit/6d6c7ed73786915d16f6ac3d8b6e6d67f404209f |
| https://github.com/adorilson |
| adorilson | https://github.com/adorilson |
| January 9, 2026 15:55 | https://github.com/python/cpython/pull/143580#event-21950548513 |
| reidenong | https://github.com/reidenong |
|
Jan 12, 2026
| https://github.com/python/cpython/pull/143580#ref-commit-d7bb4b8 |
|
| https://github.com/adorilson |
|
| https://github.com/reidenong |
| pythongh-106318 | https://github.com/python/cpython/issues/106318 |
| : Improve str.removeprefix() and str.removesuffix() d… | https://github.com/reidenong/cpython/commit/d7bb4b85e872499d0e2cf15787159d7cee86a83a |
| d7bb4b8 | https://github.com/reidenong/cpython/commit/d7bb4b85e872499d0e2cf15787159d7cee86a83a |
| python#143580 | https://github.com/python/cpython/pull/143580 |
| Sign up for free | https://github.com/join?source=comment-repo |
| Sign in to comment | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F143580 |
|
docs
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3Adocs |
|
skip news
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22skip%20news%22 |
|
Docs PRs
| https://github.com/orgs/python/projects/50 |
| Please reload this page | https://github.com/python/cpython/pull/143580 |
|
| https://github.com/adorilson |
|
| https://github.com/vstinner |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |