> 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
- making your own DirEntry. Antoon Pardon via Python-list
- Re: making your own DirEntry. DL Neil via Python-list
- Re: making your own DirEntry. Antoon Pardon via Python-list
- Re: making your own DirEntry. Barry Scott via Python-list
- Re: making your own DirEntr... Antoon Pardon via Python-list
- Re: making your own DirEntry. immibis via Python-list