summaryrefslogtreecommitdiff
path: root/Lib/nturl2path.py
diff options
context:
space:
mode:
authorJim Fasarakis-Hilliard <d.f.hilliard@gmail.com>2017-03-17 20:16:20 +0200
committerBrett Cannon <brettcannon@users.noreply.github.com>2017-03-17 11:16:20 -0700
commitcb5297a9e6b51c736ab8564b1a123577ba0dd2ad (patch)
treefb6da1bebbfd911c70e6a1f24d8a9fd87619cede /Lib/nturl2path.py
parent1b038e073807ecb6fd176edaf3386a8e3205416e (diff)
downloadcpython-git-cb5297a9e6b51c736ab8564b1a123577ba0dd2ad.tar.gz
bpo-29836: Remove nturl2path from test_sundry and amend the module docstring (GH-694)
The module is implicitly tested through test_urllib.
Diffstat (limited to 'Lib/nturl2path.py')
-rw-r--r--Lib/nturl2path.py7
1 files changed, 6 insertions, 1 deletions
diff --git a/Lib/nturl2path.py b/Lib/nturl2path.py
index 36dc765887..853e660838 100644
--- a/Lib/nturl2path.py
+++ b/Lib/nturl2path.py
@@ -1,4 +1,9 @@
-"""Convert a NT pathname to a file URL and vice versa."""
+"""Convert a NT pathname to a file URL and vice versa.
+
+This module only exists to provide OS-specific code
+for urllib.requests, thus do not use directly.
+"""
+# Testing is done through test_urllib.
def url2pathname(url):
"""OS-specific conversion from a relative URL of the 'file' scheme