[issue43525] pathlib: Highlight operator behavior with anchored paths

2021-03-16 Thread diegoe
Change by diegoe : -- keywords: +patch pull_requests: +23664 stage: -> patch review pull_request: https://github.com/python/cpython/pull/24900 ___ Python tracker ___ _

[issue43525] pathlib: Highlight operator behavior with anchored paths

2021-03-16 Thread diegoe
New submission from diegoe : In the '/' operator documentation for `pathlib`, the behavior for anchored paths is not described: https://docs.python.org/3/library/pathlib.html#operators The behavior (prefer the second/right-hand root/anchor) is only explained in the `PurePath` class: https:/