diff options
author | John Belmonte <john@neggie.net> | 2023-02-01 19:01:28 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-01 14:01:28 +0400 |
commit | 75227fba1dd1683289d90ada7abba237bff55d14 (patch) | |
tree | 2ac8d9c83437ffeae8aa5cfdfab34f05411ee33e /Lib/asyncio/streams.py | |
parent | 76efcb40930d1584e8706f015d0e5475fb16acb5 (diff) | |
download | cpython-75227fba1dd1683289d90ada7abba237bff55d14.tar.gz cpython-75227fba1dd1683289d90ada7abba237bff55d14.zip |
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 'Lib/asyncio/streams.py')
0 files changed, 0 insertions, 0 deletions