News

These functions are only usable since python-gphoto2 version 1.9.0. They return a Python object which your program must store until the callback(s) are no longer required. Deleting the returned object ...
In my project, I want the lack of a return type annotation to mean that the function returns None. I also want to force type annotations for all function parameters. If I use the options ...
From Python's perspective, this is totally fine; it'll get 14 back from the first call and None back from the second. But from Mypy's perspective, there is a problem: this indicated that the function ...