Skip to content

Commit 25beeea

Browse files
committed
Merge pull request ipython#3172 from ogrisel/missing-import
Add missing import in IPython parallel magics example
2 parents 8888524 + ff6ab0d commit 25beeea

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

examples/parallel/Parallel Magics.ipynb

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,7 @@
3636
],
3737
"language": "python",
3838
"metadata": {},
39-
"outputs": [],
40-
"prompt_number": 2
39+
"outputs": []
4140
},
4241
{
4342
"cell_type": "markdown",
@@ -461,13 +460,13 @@
461460
"collapsed": false,
462461
"input": [
463462
"%%px --local\n",
463+
"import os\n",
464464
"thispid = os.getpid()\n",
465465
"print thispid"
466466
],
467467
"language": "python",
468468
"metadata": {},
469-
"outputs": [],
470-
"prompt_number": 5
469+
"outputs": []
471470
}
472471
],
473472
"metadata": {}

0 commit comments

Comments
 (0)