[Python-checkins] peps: Path.join() is now Path.joinpath()
antoine.pitrou
python-checkins at python.org
Wed Nov 7 20:26:05 CET 2012
http://hg.python.org/peps/rev/05bc7c4d40c0
changeset: 4579:05bc7c4d40c0
user: Antoine Pitrou <solipsis at pitrou.net>
date: Wed Nov 07 20:06:20 2012 +0100
summary:
Path.join() is now Path.joinpath()
files:
pep-0428.txt | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/pep-0428.txt b/pep-0428.txt
--- a/pep-0428.txt
+++ b/pep-0428.txt
@@ -376,10 +376,10 @@
>>> 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')
--
Repository URL: http://hg.python.org/peps
More information about the Python-checkins
mailing list