[Python-checkins] Fix typos (GH-17423)

Miss Islington (bot) webhook-mailer at python.org
Sun Dec 1 00:52:43 EST 2019


https://github.com/python/cpython/commit/5f234538ab5625a81476981ab8772b46b67bf66e
commit: 5f234538ab5625a81476981ab8772b46b67bf66e
branch: 3.8
author: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com>
committer: GitHub <noreply at github.com>
date: 2019-11-30T21:52:39-08:00
summary:

Fix typos (GH-17423)

(cherry picked from commit 575d0b46d122292ca6e0576a91265d7abf7cbc3d)

Co-authored-by: Ofek Lev <ofekmeister at gmail.com>

files:
M Doc/library/datetime.rst

diff --git a/Doc/library/datetime.rst b/Doc/library/datetime.rst
index b1e1b25691d8f..b49eab44aef9e 100644
--- a/Doc/library/datetime.rst
+++ b/Doc/library/datetime.rst
@@ -881,7 +881,7 @@ Other constructors, all class methods:
       Because naive ``datetime`` objects are treated by many ``datetime`` methods
       as local times, it is preferred to use aware datetimes to represent times
       in UTC. As such, the recommended way to create an object representing the
-      current time in UTC  by calling ``datetime.now(timezone.utc)``.
+      current time in UTC is by calling ``datetime.now(timezone.utc)``.
 
 
 .. classmethod:: datetime.fromtimestamp(timestamp, tz=None)
@@ -942,7 +942,7 @@ Other constructors, all class methods:
       Because naive ``datetime`` objects are treated by many ``datetime`` methods
       as local times, it is preferred to use aware datetimes to represent times
       in UTC. As such, the recommended way to create an object representing a
-      specific timestamp in UTC  by calling
+      specific timestamp in UTC is by calling
       ``datetime.fromtimestamp(timestamp, tz=timezone.utc)``.
 
    .. versionchanged:: 3.3



More information about the Python-checkins mailing list