From 2281d35578450e7ee15c94b8667aa59bf406256c Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Wed, 26 Jun 1996 19:47:37 +0000 Subject: add nturl2path --- Lib/urllib.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Lib/urllib.py b/Lib/urllib.py index a8228eb..63e4182 100644 --- a/Lib/urllib.py +++ b/Lib/urllib.py @@ -25,6 +25,8 @@ __version__ = '1.3' # Helper for non-unix systems if os.name == 'mac': from macurl2path import url2pathname, pathname2url +elif os.name == 'nt': + from nturl2path import url2pathname, pathname2url else: def url2pathname(pathname): return pathname -- cgit v0.12