On Tue, Sep 14, 2021, 11:17 PM Finn Mason <[email protected]> wrote:
> I disagree. The way I see it, `pathlib` is home of *Path(). No functions.
> Just *Path(). Then again, I didn't write pathlib. I could be
> misunderstanding the intent.
>
When I wrote "in" I was thinking more of a method than a function. E.g.
with Path("/new/dir/").workdir() as wd:
# ... do stuff ...
>
_______________________________________________
Python-ideas mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/python-ideas.python.org/
Message archived at
https://mail.python.org/archives/list/[email protected]/message/IQ5J2T26WZPZTV4DOOD724CWRETM2PFS/
Code of Conduct: http://python.org/psf/codeofconduct/