源代码
class Person: name = "Bill" age = 63 country = "USA" x = vars(Person) print(x)
运行结果