[Python-ideas] PEP 428: poll about the joining syntax
Andrew McNabb
amcnabb at mcnabbs.org
Mon Oct 8 21:25:46 CEST 2012
On Mon, Oct 08, 2012 at 08:47:07PM +0200, Antoine Pitrou wrote:
>
> - `p[q]` joins path q to path p
-1
> - `p + q` joins path q to path p
-1 (or +0 if q is forbidden from being a string)
> - `p / q` joins path q to path p
-1
> - `p.join(q)` joins path q to path p
+1
--
Andrew McNabb
http://www.mcnabbs.org/andrew/
PGP Fingerprint: 8A17 B57C 6879 1863 DE55 8012 AB4D 6098 8826 6868
More information about the Python-ideas
mailing list