Documentation
See https://docs.python.org/3/library/pathlib.html#concrete-paths
Path('setup.py') and PosixPath('/etc') and WindowsPath('c:/Program Files/') both have single level only.
Would it be OK to have example with file in a folder? say PosixPath('/etc/hosts') (if that is correct way to pass more complex paths to constructor...)
Would PR changing this would be welcome and have chances to be reviewed?
Linked PRs