diff cutils/util/__init__.py @ 123:4a0c3c9eead7

Use the output of "scandir()" directly if it has a "close" method. Use a "nullcontext" otherwise.
author Franz Glasner <fzglas.hg@dom66.de>
date Thu, 02 Jan 2025 12:43:40 +0100
parents a548783381b6
children 3bd3f32b5e60
line wrap: on
line diff