mirror of
https://github.com/python/cpython.git
synced 2025-09-27 02:39:58 +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
|
@name.setter
|
||||||
def name(self, name):
|
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
|
self._name = name
|
||||||
|
|
||||||
@property
|
@property
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue