File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments