diff options
Diffstat (limited to 'Lib/multiprocessing/heap.py')
-rw-r--r-- | Lib/multiprocessing/heap.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/multiprocessing/heap.py b/Lib/multiprocessing/heap.py index b95f90f..98bfdc8 100644 --- a/Lib/multiprocessing/heap.py +++ b/Lib/multiprocessing/heap.py @@ -16,7 +16,7 @@ import tempfile import threading import _multiprocessing -from . import popen +from . import context from . import reduction from . import util @@ -50,7 +50,7 @@ if sys.platform == 'win32': self._state = (self.size, self.name) def __getstate__(self): - popen.assert_spawning(self) + context.assert_spawning(self) return self._state def __setstate__(self, state): |