From: Guido van Rossum Date: Wed, 26 Jun 1996 19:47:37 +0000 (+0000) Subject: add nturl2path X-Git-Tag: v1.4b1~18 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2281d35578450e7ee15c94b8667aa59bf406256c;p=python add nturl2path --- diff --git a/Lib/urllib.py b/Lib/urllib.py index a8228ebfb4..63e41829e4 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