Title: datetime.rst: fix combine() signature by belm0 · Pull Request #101490 · python/cpython · GitHub
Open Graph Title: datetime.rst: fix combine() signature by belm0 · Pull Request #101490 · python/cpython
X Title: datetime.rst: fix combine() signature by belm0 · Pull Request #101490 · python/cpython
Description: In the documented combine() signature, the default tzinfo param pseudocode was erroneously self.tzinfo. self has no meaning in the context of a classmethod, and the datetime class itself has no tzinfo attribute. The correct pseudocode for the default is time.tzinfo, reflecting that the default is the tzinfo attribute of the time parameter.
Open Graph Description: In the documented combine() signature, the default tzinfo param pseudocode was erroneously self.tzinfo. self has no meaning in the context of a classmethod, and the datetime class itself has no tzi...
X Description: In the documented combine() signature, the default tzinfo param pseudocode was erroneously self.tzinfo. self has no meaning in the context of a classmethod, and the datetime class itself has no tzi...
Opengraph URL: https://github.com/python/cpython/pull/101490
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/checks(.:format) |
| route-controller | pull_requests |
| route-action | checks |
| fetch-nonce | v2:a1824628-acd9-7ab1-2e5c-743ea23ead11 |
| current-catalog-service-hash | 87dc3bc62d9b466312751bfd5f889726f4f1337bdff4e8be7da7c93d6c00a25a |
| request-id | 925C:66035:7DD887:ABC919:6969E74B |
| html-safe-nonce | 99a30a3f1740a14d95e851fd93eaa15a0abc0470ff62c682ae23ec41fb6a7577 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5MjVDOjY2MDM1OjdERDg4NzpBQkM5MTk6Njk2OUU3NEIiLCJ2aXNpdG9yX2lkIjoiMTQyNjA5NTA2NzIxNzEyNzI0MyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | fb44fe18ec5666f77b4258151a754a82e4cb341a38f02b2f834384c91b64ddde |
| hovercard-subject-tag | pull_request:1224392746 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,checks,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/101490/checks |
| twitter:image | https://avatars.githubusercontent.com/u/1708631?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/1708631?s=400&v=4 |
| og:image:alt | In the documented combine() signature, the default tzinfo param pseudocode was erroneously self.tzinfo. self has no meaning in the context of a classmethod, and the datetime class itself has no tzi... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 7b32f1c7c4549428ee399213e8345494fc55b5637195d3fc5f493657579235e8 |
| 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 full-width full-width-p-0 |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | bdde15ad1b403e23b08bbd89b53fbe6bdf688cad |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width