The comments are taken from the C API documentation (https://docs.python.org/3.8/c-api/iterator.html).