Title: gh-77607: Improve accuracy of os.path.join docs by hauntsaninja · Pull Request #101406 · python/cpython · GitHub
Open Graph Title: gh-77607: Improve accuracy of os.path.join docs by hauntsaninja · Pull Request #101406 · python/cpython
X Title: gh-77607: Improve accuracy of os.path.join docs by hauntsaninja · Pull Request #101406 · python/cpython
Description: This is a follow-up to #100811. One of the changes in that PR isn't accurate in that os.path.join('', '') will not end in a separator. This reverts that change to the previous wording that used "only", but explicitly calls out the case where the last part ends in a separator, which is what caused confusion in #77607 and motivated the change in #100811. Issue: gh-77607
Open Graph Description: This is a follow-up to #100811. One of the changes in that PR isn't accurate in that os.path.join('', '') will not end in a separator. This reverts that change to the previous w...
X Description: This is a follow-up to #100811. One of the changes in that PR isn't accurate in that os.path.join('', '') will not end in a separator. This reverts that chan...
Opengraph URL: https://github.com/python/cpython/pull/101406
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:b3fd4f4e-1481-ae7f-d07c-af329555a978 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | E362:29957D:24F6075:324B13E:696AD7CA |
| html-safe-nonce | 773838195d2fc6324b5bc1c8aa80ab027748418e370e2adc3dca89c671e4144c |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFMzYyOjI5OTU3RDoyNEY2MDc1OjMyNEIxM0U6Njk2QUQ3Q0EiLCJ2aXNpdG9yX2lkIjoiODI5MDYyMjU0MDU2ODI1NDQxMCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 59bb2fa0a68002510d104a6ecbebf97318ea221bf54ffe7eafdd674c8f387e56 |
| hovercard-subject-tag | pull_request:1220763389 |
| 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/101406/files |
| twitter:image | https://avatars.githubusercontent.com/u/12621235?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/12621235?s=400&v=4 |
| og:image:alt | This is a follow-up to #100811. One of the changes in that PR isn't accurate in that os.path.join('', '') will not end in a separator. This reverts that change to the previous w... |
| 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 | 524a93f2c1f36522a3b4be4c110467ee4172245d |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width