]> granicus.if.org Git - python/commitdiff
Close #23904: fix pathlib documentation misleadingly mentioning that bytes objects...
authorAntoine Pitrou <solipsis@pitrou.net>
Sat, 11 Apr 2015 22:08:02 +0000 (00:08 +0200)
committerAntoine Pitrou <solipsis@pitrou.net>
Sat, 11 Apr 2015 22:08:02 +0000 (00:08 +0200)
Doc/library/pathlib.rst

index ec1dc4f6168cfd7e5d94d810df396a7998cebed2..24e2a308dfe2653eafedd33937fa3941aeca17d5 100644 (file)
@@ -106,8 +106,8 @@ we also call *flavours*:
       >>> PurePath('setup.py')      # Running on a Unix machine
       PurePosixPath('setup.py')
 
-   Each element of *pathsegments* can be either a string or bytes object
-   representing a path segment; it can also be another path object::
+   Each element of *pathsegments* can be either a string representing a
+   path segment, or another path object::
 
       >>> PurePath('foo', 'some/path', 'bar')
       PurePosixPath('foo/some/path/bar')