阅读背景:

是否有Python'快捷方式'来定义一个等于其自己名称的字符串版本的类变量?

来源:互联网 

This is a bit of a silly thing, but I want to know if there is concise way in Python to define class variables that contain string representations of their own names. For example, one can define:This is a bit of a silly thing, but I want to k




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: