Title: bpo-46852: Rename float.__set_format__() to float.__setformat__() by vstinner · Pull Request #31558 · python/cpython · GitHub
Open Graph Title: bpo-46852: Rename float.__set_format__() to float.__setformat__() by vstinner · Pull Request #31558 · python/cpython
X Title: bpo-46852: Rename float.__set_format__() to float.__setformat__() by vstinner · Pull Request #31558 · python/cpython
Description: Rename the private undocumented float.set_format() method to float.setformat() to fix a typo introduced in Python 3.7. The method is only used by test_float. The change enables again test_float tests on the float format which were previously skipped because of the typo. The typo was introduced in Python 3.7 by bpo-20185 in commit b5c51d3.
Open Graph Description: Rename the private undocumented float.set_format() method to float.setformat() to fix a typo introduced in Python 3.7. The method is only used by test_float. The change enables again test_float tes...
X Description: Rename the private undocumented float.set_format() method to float.setformat() to fix a typo introduced in Python 3.7. The method is only used by test_float. The change enables again test_float tes...
Opengraph URL: https://github.com/python/cpython/pull/31558
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:b03835c2-487b-4d87-156c-2396c8603924 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | E37A:139A69:10C002D:17466DB:696A8C18 |
| html-safe-nonce | 99ba260d91c3be5c0506f3578210f5b08fdd20d7e058449072796d72ae5c07a4 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFMzdBOjEzOUE2OToxMEMwMDJEOjE3NDY2REI6Njk2QThDMTgiLCJ2aXNpdG9yX2lkIjoiNTk4NTIwNzc1MjQ3ODg1NDE2OCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 4de4fb0e0c941496e53f70448473f1764a938d3ef23b61a4a66575c0a7b3984d |
| hovercard-subject-tag | pull_request:863000818 |
| 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/31558/files |
| twitter:image | https://avatars.githubusercontent.com/u/194129?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/194129?s=400&v=4 |
| og:image:alt | Rename the private undocumented float.set_format() method to float.setformat() to fix a typo introduced in Python 3.7. The method is only used by test_float. The change enables again test_float tes... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | d2aa6dedd7d97fa651b17c40401f2605f309df5ca5fb659bf0554cf34f1de825 |
| 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 full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | c1dbca8981c5e3d6a69bce2f1d289e732b86241d |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width