diff --git a/Lib/multiprocessing/process.py b/Lib/multiprocessing/process.py index 0b04e36300f..56719d9c9cd 100644 --- a/Lib/multiprocessing/process.py +++ b/Lib/multiprocessing/process.py @@ -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