wiki:python/Special methods/__getstate__