New submission from Michael Partridge:

ntpath.splitdrive was updated in patch 26ec6248ee8b. (I think this was released 
in 2.7.8.)

This changes the behaviour of splitdrive for UNC style paths. Previously:

>>> ntpath.splitdrive(r'\\nancy\foo\bar')
('', '\\\\nancy\\foo\\bar')                                                     
                                                         
>>>     

Now:
>>> ntpath.splitdrive(r'\\nancy\foo\bar')
('\\\\nancy\\foo', '\\bar')
>>> 

The documentation should be updated to say the same.

----------
assignee: docs@python
components: Documentation
messages: 278446
nosy: docs@python, snooter
priority: normal
severity: normal
status: open
title: os.path.splitdrive documentation out of date
type: behavior
versions: Python 2.7

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue28412>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to