Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit ee0be40

Browse files
committed
Add yet another missing versionchanged.
1 parent 3f81ba8 commit ee0be40

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

Doc/library/datetime.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -999,6 +999,9 @@ Instance methods:
999999
# Convert from UTC to tz's local time.
10001000
return tz.fromutc(utc)
10011001

1002+
.. versionchanged:: 3.3
1003+
*tz* now can be omitted.
1004+
10021005

10031006
.. method:: datetime.utcoffset()
10041007

0 commit comments

Comments
 (0)