PHP
·
发表于 5年以前
·
阅读量:8290
>>> class Student():
def __init__(self,id,name):
self.id = id
self.name = name
>>> xiaoming = Student('001','xiaoming')
>>> hash(xiaoming)
-9223371894234104688