mirror of
https://github.com/python/cpython.git
synced 2025-11-24 20:30:18 +00:00
Merged revisions 77038 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk ........ r77038 | benjamin.peterson | 2009-12-24 09:19:40 -0600 (Thu, 24 Dec 2009) | 1 line allow Process name to be unicode #7571 ........
This commit is contained in:
parent
63364fbda1
commit
7b3cfa42d2
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