Ç¥ÁؼÒ

ENUM À¯Çü
Áö±Ý ´Ù¿î·Îµå

Ç¥ÁØ¼Ò ¼øÀ§ ¹× ¿ä¾à

±¤°í

  • Rating:
  • ƯÇã:
  • MIT/X Consortium Lic...
  • °¡°Ý:
  • FREE
  • °Ô½ÃÀÚ À̸§:
  • Atsushi Odagiri
  • °Ô½ÃÀÚ À¥»çÀÌÆ®:
  • http://www.bitbucket.org/aodag/

Ç¥ÁØ¼Ò Å±×


Ç¥ÁØ¼Ò ¼³¸í

StandardenumÀº enum À¯ÇüÀ» Á¦°øÇÏ´Â Python ¸ðµâÀÔ´Ï´Ù. >>> Ç¥ÁØ ½Ã½ºÅÛ °¡Á® ¿À±â Ç¥ÁØ»ó >>> Ŭ·¡½º Sampleenum (Standardenum) : ... A = 1 ... b = 2 ... C = 3 ... >>> sampleenum.a >>> e in sampleenum : ... Àμâ e ... >>> sampleenum.a == sampleenum.ature >>> sampleenum.a == sampleenum.bfalseProductÀÇ È¨ÆäÀÌÁö


Ç¥ÁØ¼Ò °ü·Ã ¼ÒÇÁÆ®¿þ¾î