mirror of
https://github.com/python/cpython.git
synced 2025-11-27 21:55:35 +00:00
Fix markup in pathlib.rst
This commit is contained in:
parent
06a8ac0f26
commit
5e3677d7af
1 changed files with 1 additions and 1 deletions
|
|
@ -921,7 +921,7 @@ call fails (for example because the path doesn't exist):
|
||||||
>>> p.resolve()
|
>>> p.resolve()
|
||||||
PosixPath('/home/antoine/pathlib')
|
PosixPath('/home/antoine/pathlib')
|
||||||
|
|
||||||
`".."` components are also eliminated (this is the only method to do so)::
|
"``..``" components are also eliminated (this is the only method to do so)::
|
||||||
|
|
||||||
>>> p = Path('docs/../setup.py')
|
>>> p = Path('docs/../setup.py')
|
||||||
>>> p.resolve()
|
>>> p.resolve()
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue