My Python is a bit rusty, but I came across this today:

envfile = self.doctreedir / ENV_PICKLE_FILENAME

๐Ÿคฃ Go home pathlib, you're drunk.

I mean, I get it. "/" is the directory separator character so let's use the division operator to build pathnames is a thought that someone could have.

0

If you have a fediverse account, you can quote this note from your own instance. Search https://universeodon.com/users/sigue/statuses/114198646809509924 on your instance and quote it. (Note that quoting is not supported in Mastodon.)