Path.join() is now Path.joinpath()

This commit is contained in:
Antoine Pitrou 2012-11-07 20:06:20 +01:00
parent a138604e56
commit 7b8178a28b
1 changed files with 2 additions and 2 deletions

View File

@ -376,10 +376,10 @@ collapsed or separately::
>>> p['bar', 'xyzzy']
PurePosixPath('foo/bar/xyzzy')
A join() method is also provided, with the same behaviour. It can serve
A joinpath() method is also provided, with the same behaviour. It can serve
as a factory function::
>>> path_factory = p.join
>>> path_factory = p.joinpath
>>> path_factory('bar')
PurePosixPath('foo/bar')