The article also explains how internally this is an optimization the Python interpreter actually does.