diff options
Diffstat (limited to 'Lib/urllib.py')
-rw-r--r-- | Lib/urllib.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Lib/urllib.py b/Lib/urllib.py index f700d71..802d9b7 100644 --- a/Lib/urllib.py +++ b/Lib/urllib.py @@ -50,8 +50,13 @@ elif os.name == 'riscos': from rourl2path import url2pathname, pathname2url else: def url2pathname(pathname): + """OS-specific conversion from a relative URL of the 'file' scheme + to a file system path; not recommended for general use.""" return unquote(pathname) + def pathname2url(pathname): + """OS-specific conversion from a file system path to a relative URL + of the 'file' scheme; not recommended for general use.""" return quote(pathname) # This really consists of two pieces: |