Everything Is an Object: Part 1
摘要
In most Python courses, articles, or tutorial videos, you often hear the statement “everything in Python is an object.” Integers, floats, and strings are all objects; lists and dictionaries obviously look like objects; and even functions and classes are also objects. Since everything is an object, let’s take a look at what an object actually looks like in CPython.