Title: gh-104683: Modernise `clinic.py` using `str.removeprefix` and `str.removesuffix` by AlexWaygood · Pull Request #104685 · python/cpython · GitHub
Open Graph Title: gh-104683: Modernise `clinic.py` using `str.removeprefix` and `str.removesuffix` by AlexWaygood · Pull Request #104685 · python/cpython
X Title: gh-104683: Modernise `clinic.py` using `str.removeprefix` and `str.removesuffix` by AlexWaygood · Pull Request #104685 · python/cpython
Description: Both methods were new in Python 3.9. Issue: gh-104683
Open Graph Description: Both methods were new in Python 3.9. Issue: gh-104683
X Description: Both methods were new in Python 3.9. Issue: gh-104683
Opengraph URL: https://github.com/python/cpython/pull/104685
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:18458ecb-4fb2-71de-fe9e-5d5ad5bbff04 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 9514:21B39C:84C1D6:B888EB:696A5A8D |
| html-safe-nonce | 8dd33e325ef6424715307f31680847e2e8d71ff92f6220fe8b1d109fcf5062ff |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5NTE0OjIxQjM5Qzo4NEMxRDY6Qjg4OEVCOjY5NkE1QThEIiwidmlzaXRvcl9pZCI6IjExNDM1ODEyOTY4MzEzODgzMDEiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | d6bdbced2936884b2882a90a26113a5cdbcacbd116cd5117f732614c6cc44ccb |
| hovercard-subject-tag | pull_request:1357927631 |
| 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/104685/files |
| twitter:image | https://avatars.githubusercontent.com/u/66076021?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/66076021?s=400&v=4 |
| og:image:alt | Both methods were new in Python 3.9. Issue: gh-104683 |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 3f871c8e07f0ae1886fa8dac284166d28b09ad5bada6476fc10b674e489788ef |
| 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 | 63c426b30d262aba269ef14c40e3c817b384cd61 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width