]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Fix two typos in multiprocessing (GH-19571) (GH-19578)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Sat, 18 Apr 2020 07:24:15 +0000 (00:24 -0700)
committerGitHub <noreply@github.com>
Sat, 18 Apr 2020 07:24:15 +0000 (09:24 +0200)
(cherry picked from commit c606624af8d4cb3b4a052fb263bb983b3f87585b)

Co-authored-by: Galden <wudenggang0@163.com>
Co-authored-by: Galden <wudenggang0@163.com>
Lib/multiprocessing/managers.py

index fc6a25fa623f08986171bd1ab43d123441b4c84f..85e0d886f56474dd00cc318bafef7b49ae633b75 100644 (file)
@@ -59,7 +59,7 @@ if view_types[0] is not list:       # only needed in Py3.0
 
 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 @@ class BaseProxy(object):
 
     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