Skip to content

Commit

Permalink
Exclude from doctest
Browse files Browse the repository at this point in the history
  • Loading branch information
barneygale committed Nov 17, 2023
1 parent cae0964 commit d3ba6f5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Doc/library/pathlib.rst
Original file line number Diff line number Diff line change
Expand Up @@ -844,6 +844,8 @@ conforming to :rfc:`8089`.
Represent the path as a 'file' URI. :exc:`ValueError` is raised if
the path isn't absolute.

::

>>> p = PosixPath('/etc/passwd')
>>> p.as_uri()
'file:///etc/passwd'
Expand Down

0 comments on commit d3ba6f5

Please sign in to comment.