Fix two typos in multiprocessing (GH-19571)

This commit is contained in:
Galden 2020-04-18 14:58:29 +08:00 committed by GitHub
parent 87502ddd71
commit c606624af8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -60,7 +60,7 @@ if view_types[0] is not list: # only needed in Py3.0
class Token(object): class Token(object):
''' '''
Type to uniquely indentify a shared object Type to uniquely identify a shared object
''' '''
__slots__ = ('typeid', 'address', 'id') __slots__ = ('typeid', 'address', 'id')
@ -795,7 +795,7 @@ class BaseProxy(object):
def _callmethod(self, methodname, args=(), kwds={}): 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: try:
conn = self._tls.connection conn = self._tls.connection