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

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


https://github.com/python/cpython/commit/9c7727ba30ab6f174d041f14bbe81cc72b515581
commit: 9c7727ba30ab6f174d041f14bbe81cc72b515581
branch: 3.7
author: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com>
committer: GitHub <noreply at github.com>
date: 2020年04月18日T09:24:05+02:00
summary:
Fix two typos in multiprocessing (GH-19571) (GH-19579)
(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 8e8d28f4b7cde..c5043a4d3c2aa 100644
--- a/Lib/multiprocessing/managers.py
+++ b/Lib/multiprocessing/managers.py
@@ -50,7 +50,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')
 
@@ -805,7 +805,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

AltStyle によって変換されたページ (->オリジナル) /