Import urllib directly instead of from six.moves, as we move away from Python 2

This commit is contained in:
Aurélien Geron
2019-10-12 16:29:54 +09:30
parent f5f1ce1ca0
commit 07b83a5e09
2 changed files with 4 additions and 4 deletions

View File

@@ -1880,7 +1880,7 @@
"source": [
"import os\n",
"import tarfile\n",
"from six.moves import urllib\n",
"import urllib\n",
"\n",
"DOWNLOAD_ROOT = \"http://spamassassin.apache.org/old/publiccorpus/\"\n",
"HAM_URL = DOWNLOAD_ROOT + \"20030228_easy_ham.tar.bz2\"\n",
@@ -2522,7 +2522,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.6.8"
"version": "3.7.4"
},
"nav_menu": {},
"toc": {