mirror of https://github.com/python/cpython
allow Process name to be unicode #7571
This commit is contained in:
parent
ca8e7ec216
commit
27cae34bd0
|
@ -138,7 +138,7 @@ class Process(object):
|
|||
|
||||
@name.setter
|
||||
def name(self, name):
|
||||
assert isinstance(name, str), 'name must be a string'
|
||||
assert isinstance(name, basestring), 'name must be a string'
|
||||
self._name = name
|
||||
|
||||
@property
|
||||
|
|
Loading…
Reference in New Issue