It might be nice to be clearer about what the data attribute is for. It doesn't look like anything in this module sets it, other than the constructor setting it to None.