summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2017-01-13 18:55:05 (GMT)
committerSerhiy Storchaka <storchaka@gmail.com>2017-01-13 18:55:05 (GMT)
commit9ed707eb4c56506a0e20072a0f5e43f8e5dbdeb8 (patch)
tree800487675296ef3302d3fed687ca8636469ac2f6 /Doc
parent4f76fb16b7e00dac91ea4089a28e06e8720e3294 (diff)
downloadcpython-9ed707eb4c56506a0e20072a0f5e43f8e5dbdeb8.zip
cpython-9ed707eb4c56506a0e20072a0f5e43f8e5dbdeb8.tar.gz
cpython-9ed707eb4c56506a0e20072a0f5e43f8e5dbdeb8.tar.bz2
Issue #29197: Removed deprecated function ntpath.splitunc().
Diffstat (limited to 'Doc')
-rw-r--r--Doc/library/os.path.rst13
-rw-r--r--Doc/whatsnew/3.7.rst4
2 files changed, 4 insertions, 13 deletions
diff --git a/Doc/library/os.path.rst b/Doc/library/os.path.rst
index 406054e..38a9331 100644
--- a/Doc/library/os.path.rst
+++ b/Doc/library/os.path.rst
@@ -453,19 +453,6 @@ the :mod:`glob` module.)
Accepts a :term:`path-like object`.
-.. function:: splitunc(path)
-
- .. deprecated:: 3.1
- Use *splitdrive* instead.
-
- Split the pathname *path* into a pair ``(unc, rest)`` so that *unc* is the UNC
- mount point (such as ``r'\\host\mount'``), if present, and *rest* the rest of
- the path (such as ``r'\path\file.ext'``). For paths containing drive letters,
- *unc* will always be the empty string.
-
- Availability: Windows.
-
-
.. data:: supports_unicode_filenames
``True`` if arbitrary Unicode strings can be used as file names (within limitations
diff --git a/Doc/whatsnew/3.7.rst b/Doc/whatsnew/3.7.rst
index e6dd5a1..56545b8 100644
--- a/Doc/whatsnew/3.7.rst
+++ b/Doc/whatsnew/3.7.rst
@@ -142,6 +142,10 @@ API and Feature Removals
* Removed support of the *exclude* argument in :meth:`tarfile.TarFile.add`.
Use the *filter* argument instead.
+* The ``splitunc()`` function in the :mod:`ntpath` module was deprecated in
+ Python 3.1, and has now been removed. Use the :func:`~os.path.splitdrive`
+ function instead.
+
Porting to Python 3.7
=====================