ITエンジニアのブログ

IT企業でエンジニアやってる人間の日常について

2015-01-10から1日間の記事一覧

Python3 コンストラクタ__init__ の初期化の値について

Python3 で Wikipedia のデータを解析するために、 class Entry: def __init__(self, title, redirect_from=[], document=None, link_from=[], link_to=None): self.title = title self.redirect_from = redirect_from self.document = document self.link_f…