summaryrefslogtreecommitdiffstats
path: root/Doc/library/intro.rst
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2022-06-10 23:10:29 (GMT)
committerGitHub <noreply@github.com>2022-06-10 23:10:29 (GMT)
commit9fafc0acf7a3bbd52d6867f15425783859cc3cbe (patch)
treebc94b97520de95a99206bae71d24dadb7b847b17 /Doc/library/intro.rst
parent8f36c735b2aa694b140a19d9425bbdf54de5f212 (diff)
downloadcpython-9fafc0acf7a3bbd52d6867f15425783859cc3cbe.zip
cpython-9fafc0acf7a3bbd52d6867f15425783859cc3cbe.tar.gz
cpython-9fafc0acf7a3bbd52d6867f15425783859cc3cbe.tar.bz2
gh-91317: Document that Path does not collapse initial `//` (GH-32193)
Documentation for `pathlib` says: > Spurious slashes and single dots are collapsed, but double dots ('..') are not, since this would change the meaning of a path in the face of symbolic links: However, it omits that initial double slashes also aren't collapsed. Later, in documentation of `PurePath.drive`, `PurePath.root`, and `PurePath.name` it mentions UNC but: - this abbreviation says nothing to a person who is unaware about existence of UNC (Wikipedia doesn't help either by [giving a disambiguation page](https://en.wikipedia.org/wiki/UNC)) - it shows up only if a person needs to use a specific property or decides to fully learn what the module provides. For context, see the BPO entry. (cherry picked from commit 78f1a436949209dab1f4a9d04036a1a42b165086) Co-authored-by: Oleg Iarygin <oleg@arhadthedev.net>
Diffstat (limited to 'Doc/library/intro.rst')
0 files changed, 0 insertions, 0 deletions