def unwrap(obj):
        "Unpack inner objects wrapped by _ThreadSafe instances."
        return obj.__obj if isinstance(obj, _ThreadSafe) else obj
Unpack inner objects wrapped by _ThreadSafe instances.
recipes/Python/577633_Directory_Pruner_2/recipe-577633.py