> On 23 Dec 2023, at 09:48, Antoon Pardon via Python-list 
> <python-list@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

-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to