0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

Pythonのクラス定義における__new__について説明してみました

Posted at

学校で各種言語のプログラミングを教えています.
Pythonのクラス定義における__new__についてよく理解できずに悩んでいる人がいるように思いますので,使っている教科書から抜粋します.

__new__の解説部分(PDF)

テキスト本体の最新版はこちらの記事で配布しています.

__new__と__init__の違いがよくわからないという方,ご参考まで.

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?