source:
trunk/essentials/dev-lang/python/Lib/macurl2path.py@
3226
| Last change on this file since 3226 was 3225, checked in by , 19 years ago | |
|---|---|
| File size: 3.2 KB | |
| Line | |
|---|---|
| 1 | """Macintosh-specific module for conversion between pathnames and URLs. |
| 2 | |
| 3 | Do not import directly; use urllib instead.""" |
| 4 | |
| 5 | import urllib |
| 6 | import os |
| 7 | |
| 8 | __all__ = ["url2pathname","pathname2url"] |
| 9 | |
| 10 | def 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 | # |
