mirror of
https://github.com/jupyter/notebook.git
synced 2025-01-30 12:11:32 +08:00
Indicate Py3 vs. Py2 codepath.
This commit is contained in:
parent
5800b1c625
commit
104275ab73
@ -17,9 +17,9 @@ Authors:
|
||||
#-----------------------------------------------------------------------------
|
||||
|
||||
try:
|
||||
from urllib.parse import urlparse
|
||||
from urllib.parse import urlparse # Py 3
|
||||
except ImportError:
|
||||
from urlparse import urlparse
|
||||
from urlparse import urlparse # Py 2
|
||||
|
||||
try:
|
||||
from http.cookies import SimpleCookie # Py 3
|
||||
|
Loading…
Reference in New Issue
Block a user