diff options
author | John Belmonte <john@neggie.net> | 2023-02-01 10:01:28 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-01 10:01:28 (GMT) |
commit | 75227fba1dd1683289d90ada7abba237bff55d14 (patch) | |
tree | 2ac8d9c83437ffeae8aa5cfdfab34f05411ee33e /Python/getplatform.c | |
parent | 76efcb40930d1584e8706f015d0e5475fb16acb5 (diff) | |
download | cpython-75227fba1dd1683289d90ada7abba237bff55d14.zip cpython-75227fba1dd1683289d90ada7abba237bff55d14.tar.gz cpython-75227fba1dd1683289d90ada7abba237bff55d14.tar.bz2 |
datetime.rst: fix combine() signature (#101490)
The default `tzinfo` param of the `combine()` signature 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 default pseudocode is `time.tzinfo`, reflecting that the default is the `tzinfo` attribute of the `time` parameter.
Diffstat (limited to 'Python/getplatform.c')
0 files changed, 0 insertions, 0 deletions