Skip to content

Commit 575d0b4

Browse files
ofekmiss-islington
authored andcommitted
Fix typos (GH-17423)
1 parent 8d62df6 commit 575d0b4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Doc/library/datetime.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -881,7 +881,7 @@ Other constructors, all class methods:
881881
Because naive ``datetime`` objects are treated by many ``datetime`` methods
882882
as local times, it is preferred to use aware datetimes to represent times
883883
in UTC. As such, the recommended way to create an object representing the
884-
current time in UTC by calling ``datetime.now(timezone.utc)``.
884+
current time in UTC is by calling ``datetime.now(timezone.utc)``.
885885

886886

887887
.. classmethod:: datetime.fromtimestamp(timestamp, tz=None)
@@ -942,7 +942,7 @@ Other constructors, all class methods:
942942
Because naive ``datetime`` objects are treated by many ``datetime`` methods
943943
as local times, it is preferred to use aware datetimes to represent times
944944
in UTC. As such, the recommended way to create an object representing a
945-
specific timestamp in UTC by calling
945+
specific timestamp in UTC is by calling
946946
``datetime.fromtimestamp(timestamp, tz=timezone.utc)``.
947947

948948
.. versionchanged:: 3.3

0 commit comments

Comments
 (0)