摘要:        
class Bar: name = "abc" class Foo(Bar): @classmethod def m1(cls): print(cls.name) # abc    阅读全文
        
            posted @ 2021-05-28 19:10
要一直走下去
阅读(134)
评论(0)
推荐(0)
        
    | 
摘要:        
class Bar: name = "abc" class Foo(Bar): @classmethod def m1(cls): print(cls.name) # abc    阅读全文
 
            posted @ 2021-05-28 19:10
要一直走下去
阅读(134)
评论(0)
推荐(0)
         |