source: trunk/essentials/dev-lang/python/Lib/macurl2path.py@ 3226

Last change on this file since 3226 was 3225, checked in by bird, 19 years ago

Python 2.5

File size: 3.2 KB
Line 
1"""Macintosh-specific module for conversion between pathnames and URLs.
2
3Do not import directly; use urllib instead."""
4
5import urllib
6import os
7
8__all__ = ["url2pathname","pathname2url"]
9
10def url2pathname(pathname):
11 """OS-specific conversion from a relative URL of the 'file' scheme
12 to a file system path; not recommended for general use."""
13 #
14 # XXXX The .. handling should be fixed...
15 #