[Python-Dev] Defining a path protocol (original) (raw)
Ethan Furman ethan at stoneleaf.us
Wed Apr 6 19:37:11 EDT 2016
- Previous message (by thread): [Python-Dev] Defining a path protocol
- Next message (by thread): [Python-Dev] Defining a path protocol
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On 04/06/2016 04:26 PM, Brett Cannon wrote:
On Wed, 6 Apr 2016 at 16:25 Nathaniel Smith wrote:
For index the "built-in" is:
from operator import index Which suggests perhaps we should have pathlib.fspath() instead of a built-in.
+1
--
Ethan
- Previous message (by thread): [Python-Dev] Defining a path protocol
- Next message (by thread): [Python-Dev] Defining a path protocol
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]