File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -460,16 +460,16 @@ process which created it.
460
460
... return x*x
461
461
...
462
462
>>> with p:
463
- ... p.map(f, [1,2,3])
463
+ ... p.map(f, [1,2,3])
464
464
Process PoolWorker-1:
465
465
Process PoolWorker-2:
466
466
Process PoolWorker-3:
467
467
Traceback (most recent call last):
468
468
Traceback (most recent call last):
469
469
Traceback (most recent call last):
470
- AttributeError: 'module' object has no attribute 'f'
471
- AttributeError: 'module' object has no attribute 'f'
472
- AttributeError: 'module' object has no attribute 'f'
470
+ AttributeError: Can't get attribute 'f' on <module '__main__' (<class '_frozen_importlib.BuiltinImporter'>)>
471
+ AttributeError: Can't get attribute 'f' on <module '__main__' (<class '_frozen_importlib.BuiltinImporter'>)>
472
+ AttributeError: Can't get attribute 'f' on <module '__main__' (<class '_frozen_importlib.BuiltinImporter'>)>
473
473
474
474
(If you try this it will actually output three full tracebacks
475
475
interleaved in a semi-random fashion, and then you may have to
You can’t perform that action at this time.
0 commit comments