[Python-checkins] Fix two typos in multiprocessing (GH-19571) (GH-19578)

Miss Islington (bot) webhook-mailer at python.org
Sat Apr 18 03:24:19 EDT 2020


https://github.com/python/cpython/commit/904dd068fb6dc9a70f30dc46061e8b57d7797119
commit: 904dd068fb6dc9a70f30dc46061e8b57d7797119
branch: 3.8
author: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com>
committer: GitHub <noreply at github.com>
date: 2020-04-18T09:24:15+02:00
summary:

Fix two typos in multiprocessing (GH-19571) (GH-19578)

(cherry picked from commit c606624af8d4cb3b4a052fb263bb983b3f87585b)

Co-authored-by: Galden <wudenggang0 at 163.com>

Co-authored-by: Galden <wudenggang0 at 163.com>

files:
M Lib/multiprocessing/managers.py

diff --git a/Lib/multiprocessing/managers.py b/Lib/multiprocessing/managers.py
index fc6a25fa623f0..85e0d886f5647 100644
--- a/Lib/multiprocessing/managers.py
+++ b/Lib/multiprocessing/managers.py
@@ -59,7 +59,7 @@ def rebuild_as_list(obj):
 
 class Token(object):
     '''
-    Type to uniquely indentify a shared object
+    Type to uniquely identify a shared object
     '''
     __slots__ = ('typeid', 'address', 'id')
 
@@ -821,7 +821,7 @@ def _connect(self):
 
     def _callmethod(self, methodname, args=(), kwds={}):
         '''
-        Try to call a method of the referrent and return a copy of the result
+        Try to call a method of the referent and return a copy of the result
         '''
         try:
             conn = self._tls.connection



More information about the Python-checkins mailing list