您即将离开知乎,请注意您的帐号和财产安全。
https://stackoverflow.com/questions/4828080/how-to-make-an-immutable-object-in-python