On Tue, Sep 14, 2021, 11:17 PM Finn Mason <finnjavie...@gmail.com> 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 -- python-ideas@python.org To unsubscribe send an email to python-ideas-le...@python.org https://mail.python.org/mailman3/lists/python-ideas.python.org/ Message archived at https://mail.python.org/archives/list/python-ideas@python.org/message/IQ5J2T26WZPZTV4DOOD724CWRETM2PFS/ Code of Conduct: http://python.org/psf/codeofconduct/