summaryrefslogtreecommitdiff
path: root/Doc
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2017-01-13 20:55:05 +0200
committerSerhiy Storchaka <storchaka@gmail.com>2017-01-13 20:55:05 +0200
commit41cbeed8d7604d0562cc9d6494520886f82d2ace (patch)
treedd3278d34496718ad067ca0b7765b9a7631bec93 /Doc
parentc3e70c9df5ac47a4e611afdc6a4ea1e621d2d0aa (diff)
downloadcpython-41cbeed8d7604d0562cc9d6494520886f82d2ace.tar.gz
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 406054e5d7..38a9331577 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 e6dd5a17cd..56545b8941 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
=====================