mirror of
https://github.com/python/cpython.git
synced 2025-07-30 06:34:15 +00:00
allow Process name to be unicode #7571
This commit is contained in:
parent
ca8e7ec216
commit
27cae34bd0
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue