making your own DirEntry.

Barry Scott barry at barrys-emacs.org
Sat Dec 23 06:34:58 EST 2023



> On 23 Dec 2023, at 09:48, Antoon Pardon via Python-list <python-list at python.org> wrote:
> 
> Because I have functions with DirEntry parameters.

I would duck-type a class I control to be my DirEnrry in this situation.
Would also help you when debugging as you can tell injected DirEntry from "real" DirEntry.

Barry



More information about the Python-list mailing list