summaryrefslogtreecommitdiffstats
path: root/Lib/multiprocessing
diff options
context:
space:
mode:
authorGalden <wudenggang0@163.com>2020-04-18 06:58:29 (GMT)
committerGitHub <noreply@github.com>2020-04-18 06:58:29 (GMT)
commitc606624af8d4cb3b4a052fb263bb983b3f87585b (patch)
treed7ef05868a0b10c4c65a198b6dea0aaf4c3c9965 /Lib/multiprocessing
parent87502ddd710eb1f030b8ff5a60b05becea3f474f (diff)
downloadcpython-c606624af8d4cb3b4a052fb263bb983b3f87585b.zip
cpython-c606624af8d4cb3b4a052fb263bb983b3f87585b.tar.gz
cpython-c606624af8d4cb3b4a052fb263bb983b3f87585b.tar.bz2
Fix two typos in multiprocessing (GH-19571)
Diffstat (limited to 'Lib/multiprocessing')
-rw-r--r--Lib/multiprocessing/managers.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/multiprocessing/managers.py b/Lib/multiprocessing/managers.py
index 9d490a1..0eb16c6 100644
--- a/Lib/multiprocessing/managers.py
+++ b/Lib/multiprocessing/managers.py
@@ -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