summaryrefslogtreecommitdiffstats
path: root/Python/bytecodes.c
diff options
context:
space:
mode:
authorJohn Belmonte <john@neggie.net>2023-02-01 10:01:28 (GMT)
committerGitHub <noreply@github.com>2023-02-01 10:01:28 (GMT)
commit75227fba1dd1683289d90ada7abba237bff55d14 (patch)
tree2ac8d9c83437ffeae8aa5cfdfab34f05411ee33e /Python/bytecodes.c
parent76efcb40930d1584e8706f015d0e5475fb16acb5 (diff)
downloadcpython-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/bytecodes.c')
0 files changed, 0 insertions, 0 deletions