Skip to content

Commit 48505bb

Browse files
committed
fix urlretrieve NameError: import tempfile in 03b_net.ipynb
1 parent 18854d2 commit 48505bb

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

fastcore/net.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
from .parallel import *
2323

2424
from functools import wraps
25+
import tempfile
2526
import json,urllib,contextlib
2627
import socket,urllib.request,http,urllib
2728
from contextlib import contextmanager,ExitStack

nbs/03b_net.ipynb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
"from fastcore.parallel import *\n",
2323
"\n",
2424
"from functools import wraps\n",
25+
"import tempfile\n",
2526
"import json,urllib,contextlib\n",
2627
"import socket,urllib.request,http,urllib\n",
2728
"from contextlib import contextmanager,ExitStack\n",

0 commit comments

Comments
 (0)