Steve Dower added the comment:
Just did a double-take, but that output for Path('\\\\server\\').parts[0] is
actually correct...
>>> Path('\\\\server\\').parts[0]
'\\\\server\\\\'
>>> print(Path('\\\\server\\').parts[0])
\\server\\
----------
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue22302>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com