1. python_mirrors
  2. peps

Commits

Antoine Pitrou  committed 05bc7c4 Draft

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

  • Participants
  • Parent commits 95a73d5
  • Branches default

Comments (0)

Files changed (1)

File pep-0428.txt

View file
     >>> 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')