Otherwise it's undefined behaviour in C. Implicitly returning None from the timeout callback in Python is actually OK, but explicit is better than implicit.
Otherwise it's undefined behaviour in C. Implicitly returning None from the timeout callback in Python is actually OK, but explicit is better than implicit.