½´ÆÛ¸Ç

½´ÆÛ º¯È¯ ÀåÄ¡ÀÇ Ä÷º¼Ç
Áö±Ý ´Ù¿î·Îµå

½´ÆÛ¸Ç ¼øÀ§ ¹× ¿ä¾à

±¤°í

  • Rating:
  • ƯÇã:
  • LGPL
  • °¡°Ý:
  • FREE
  • °Ô½ÃÀÚ À̸§:
  • Alex Couper
  • °Ô½ÃÀÚ À¥»çÀÌÆ®:
  • https://github.com/alexcouper/

½´ÆÛ¸Ç Å±×


½´ÆÛ¸Ç ¼³¸í

Supermutes´Â µÎ °¡Áö Á¾·ùÀÇ mutableÀ» Á¤ÀÇÇÏ´Â ÆÄÀ̽㠸ðµâÀÔ´Ï´Ù .DotThe ¸ðµâÀº ¸ñ·ÏÀ̳ª dict object.eg : >>¿¡¼­ dottmutes.metÀ» °¡Á®¿Ã ¶§ ¾òÀ» ¼öÀÖ´Â Á¡ Ç¥±â¹ýÀ» »ç¿ëÇÒ ¼öÀִ Ŭ·¡½º¸¦ Æ÷ÇÔÇÕ´Ï´Ù. { 'a': , 'b': {c ': {c': 5}) >> DA_01 >> DBC5 >> DC = { 'F': 9}> DCF9ReadOnlyThe ReadOnly ¸ðµâ¿¡´Â Dict¸¦ º¯È¯ÇÏ°í °´Ã¼¸¦ repermutes¿¡¼­ º¯°æÇÒ ¼ö¾ø´Â °ªÀ» °¡Áú ¼ö¾ø´Â Ŭ·¡½º°¡ µé¾î ÀÖ½À´Ï´Ù. >> ½´ÆÛ¹ÌÆ®¿¡¼­ readonly >> r = readonly ({ 'a': , 'B': { 'C': 5}) >> R {A ': ,'B ': {C': 5 } r . append (5) supermutes.readonly.readonlyclassexception : °´Ã¼¿¡ ¾µ ¼ö ¾ø½À´Ï´Ù. >> r = 6supermutes.readonly.ReadOnlyClassexception : °´Ã¼¿¡ ¾µ ¼ö ¾øÀ½ Sub ClassesUpon SubsmutesÀÇ ÇÏÀ§ Ŭ·¡½ºÀÇ ¼­ºê Ŭ·¡½ºÀÇ ¼±¾ð, ÇØ´ç Ŭ·¡½º´Â µ¥ÀÌÅÍ ¼¼Æ®¸¦ Àç±Í ÀûÀ¸·Î º¯°æÇϱâÀ§ÇÑ Defacto Ŭ·¡½º·Î ¼³Á¤µË´Ï´Ù. Ŭ·¡½º¸¦ ¿ø·¡ ¼¼Æ®·Î ´Ù½Ã Àç¼³Á¤ÇÏ·Á¸é RESET_MAPPITE ¸Þ¼­µå¸¦ »ç¿ëÇϽʽÿÀ. e moduleeg : >>> ½´Æ۸ǿ¡¼­. DOTDICT, DOTLIST, RESET_MAPPTION >>> Ŭ·¡½º MYSUBCLASS (DOTDICT) : PASS >>> D = mySubClass ({ ': {'b ': {': 3} } >>> dab {c ': 3} >>> dab__class __ >>> f = dotlist () >>> f .__ Ŭ·¡½º __ >>> reset_mapping () >>> f = dotlist () >>> f .__ Ŭ·¡½º __ <Ŭ·¡½º 'supermutesdotdotdict'> Á¦Ç°ÀÇ È¨ÆäÀÌÁö


½´ÆÛ¸Ç °ü·Ã ¼ÒÇÁÆ®¿þ¾î