]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Fix two typos in multiprocessing (GH-19571)
authorGalden <wudenggang0@163.com>
Sat, 18 Apr 2020 06:58:29 +0000 (14:58 +0800)
committerGitHub <noreply@github.com>
Sat, 18 Apr 2020 06:58:29 +0000 (08:58 +0200)
Lib/multiprocessing/managers.py

index 9d490a1d8b3525b2967cbaee8290a97daef0d64e..0eb16c664cfab3608f13ac372be2a31491db452d 100644 (file)
@@ -60,7 +60,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')
 
@@ -795,7 +795,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