2013-06-18から1日間の記事一覧
定義は以下のとおり。 class Hoge: def __init__(self): self.x = 'hoge' class Hoge(object): def __init__(self): self.x = 'hoge' これをhelp()で比較してみた。 Help on class Hoge in module __main__: class Hoge | Methods defined here: | | __init_…
定義は以下のとおり。 class Hoge: def __init__(self): self.x = 'hoge' class Hoge(object): def __init__(self): self.x = 'hoge' これをhelp()で比較してみた。 Help on class Hoge in module __main__: class Hoge | Methods defined here: | | __init_…