mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
Format None, True, False and NotImplemented as literals (GH-118758)
This commit is contained in:
parent
bcb435ee8f
commit
05c2fe1acd
39 changed files with 85 additions and 83 deletions
|
@ -627,8 +627,8 @@ Pure paths provide the following methods and properties:
|
|||
raise ValueError(error_message.format(str(self), str(formatted)))
|
||||
ValueError: '/etc/passwd' is not in the subpath of '/usr' OR one path is relative and the other is absolute.
|
||||
|
||||
When *walk_up* is False (the default), the path must start with *other*.
|
||||
When the argument is True, ``..`` entries may be added to form the
|
||||
When *walk_up* is false (the default), the path must start with *other*.
|
||||
When the argument is true, ``..`` entries may be added to form the
|
||||
relative path. In all other cases, such as the paths referencing
|
||||
different drives, :exc:`ValueError` is raised.::
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue