From aa649d0240943cfb7cc257905d89422a49dc9f15 Mon Sep 17 00:00:00 2001 From: Gerard Weatherby Date: Mon, 18 Dec 2023 08:47:01 -0500 Subject: [PATCH] show example with trailing slash --- Doc/library/pathlib.rst | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Doc/library/pathlib.rst b/Doc/library/pathlib.rst index 60791725c2323d..9c08bfb8e04791 100644 --- a/Doc/library/pathlib.rst +++ b/Doc/library/pathlib.rst @@ -151,6 +151,8 @@ we also call *flavours*: >>> PurePath('foo//bar') PurePosixPath('foo/bar') + >>> PurePath('foo/bar/') + PurePosixPath('foo/bar') >>> PurePath('//foo/bar') PurePosixPath('//foo/bar') >>> PurePath('foo/./bar')