]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Fix two typos in multiprocessing (GH-19571) (GH-19579)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Sat, 18 Apr 2020 07:24:05 +0000 (00:24 -0700)
committerGitHub <noreply@github.com>
Sat, 18 Apr 2020 07:24:05 +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 8e8d28f4b7cdef4fa94fc5986feebde1ff814e02..c5043a4d3c2aa5bd18783469b9818aaaf84e7aa6 100644 (file)
@@ -50,7 +50,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')
 
@@ -805,7 +805,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