Title: gh-158322: Tidy docstrings in `turtle` module by StanFromIreland · Pull Request #158281 · python/cpython · GitHub
Open Graph Title: gh-158322: Tidy docstrings in `turtle` module by StanFromIreland · Pull Request #158281 · python/cpython
X Title: gh-158322: Tidy docstrings in `turtle` module by StanFromIreland · Pull Request #158281 · python/cpython
Description: This is the first round of what will probably be quite a few PRs, as I want to keep the diff in each one reasonably small. With the introduction of turtle-translations, I’d like to improve the existing docstrings so that they produce better translations. Along the way, this PR also includes a handful of ad hoc refactors that I noticed while working through the module. These could reasonably be classified as churn, however, the turtle module is, frankly, quite messy in places. I think these changes improve readability and, as a result, maintainability, so I intend to tidy up similar issues. They should also have relatively little impact on useful Git history, since the majority of the affected lines date back to the original port in 97cf99f. If there are no comments, I plan to merge this next Thursday. Issue: gh-158322
Open Graph Description: This is the first round of what will probably be quite a few PRs, as I want to keep the diff in each one reasonably small. With the introduction of turtle-translations, I’d like to improve the exis...
X Description: This is the first round of what will probably be quite a few PRs, as I want to keep the diff in each one reasonably small. With the introduction of turtle-translations, I’d like to improve the exis...
Opengraph URL: https://github.com/python/cpython/pull/158281
X: @github
Domain: github.com
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:84bed989-3746-df1c-f19f-6e108c12e9a9 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | D5E2:F8C5C:96113F:BCB2FC:6B020FFE |
| html-safe-nonce | 7b297c80cd65b08f24ff38a92df05af7f02781903fb9986a0026153f8d4d0ff9 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJENUUyOkY4QzVDOjk2MTEzRjpCQ0IyRkM6NkIwMjBGRkUiLCJ2aXNpdG9yX2lkIjoiMjk3NTcwNTM3MzQyMTQ3Mzc5MCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | c330cf27f2b882d1f111b2cc399948808f97fb61307bcf8ebd6efbcbddfd3b1c |
| hovercard-subject-tag | pull_request:4653626609 |
| 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/158281/files |
| twitter:image | https://avatars.githubusercontent.com/u/89152624?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/89152624?s=400&v=4 |
| og:image:alt | This is the first round of what will probably be quite a few PRs, as I want to keep the diff in each one reasonably small. With the introduction of turtle-translations, I’d like to improve the exis... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456 |
| 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 | 423dbb54c5e7bfecc838eb387c1435eb3d0e760d |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width