hm, `yield` returns `None` and maybe you need 'nothing' instead.
In that case, maybe `return (())` does the trick.
E.g.:
```python
return (())  # empty generator
```