mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
Issue #29197: Removed deprecated function ntpath.splitunc().
This commit is contained in:
parent
4f76fb16b7
commit
9ed707eb4c
5 changed files with 9 additions and 61 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue