ã¯ã©ã¹ cls ã®æ°ããã¤ã³ã¹ã¿ã³ã¹ãä½ãããã«å¼ã³åºããã¾ãã __new__() ã¯éçã¡ã½ãã㧠(ãã®ã¡ã½ããã¯ç¹å¥æ±ãããã¦ãã ã®ã§ãæ示çã«éçã¡ã½ããã¨å®£è¨ããå¿ è¦ã¯ããã¾ãã)ãã¤ã³ã¹ã¿ã³ã¹ã çæããããè¦æ±ããã¦ããã¯ã©ã¹ã第ä¸å¼æ°ã«ã¨ãã¾ããæ®ãã®å¼æ°ã¯ãªã ã¸ã§ã¯ãã®ã³ã³ã¹ãã©ã¯ã¿ã®å¼ (ã¯ã©ã¹ã®å¼ã³åºãæ) ã«æ¸¡ããã¾ãã __new__() ã®æ»ãå¤ã¯æ°ãããªãã¸ã§ã¯ãã®ã¤ã³ã¹ã¿ã³ã¹ (é常㯠cls ã®ã¤ã³ã¹ã¿ã³ã¹) ã§ãªããã°ãªãã¾ããã å ¸åçãªå®è£ ã§ã¯ãã¯ã©ã¹ã®æ°ããªã¤ã³ã¹ã¿ã³ã¹ãçæããã¨ãã«ã¯ "super(currentclass, cls).__new__(cls[, ...])"ã«é©åãªå¼æ°ãæå®ãã¦ã¹ã¼ãã¯ã©ã¹ã® __new__() ã¡ã½ãããå¼ ã³åºããæ°ãã«çæãããã¤ã³ã¹ã¿ã³ã¹ã«å¿ è¦ãªå¤æ´ãå ãã¦ããè¿ãã¾ãã __new__() ã
{{#tags}}- {{label}}
{{/tags}}