Op 23/12/2023 om 12:34 schreef Barry Scott:


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.

Yes that seems to be, the way to go.

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

Reply via email to