mirror of
https://github.com/python/cpython.git
synced 2026-05-18 10:24:42 -04:00
allow Process name to be unicode #7571
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user