When I tried the sys.getsizeof:
>>> import sys
>>> sys.getsizeof(int)
400
>>> sys.getsizeof(2)
28
I am puzzled about the result:
2 is an instance of class int but have much less bytes than its inherited class.
>>> sys.getsizeof(list)
400
>>> sys.getsizeof(list("list"))
120
The same is list.
Does 2 not inherit from class int?