Âù¾ç

Python-version¿¡ ¹Î°¨ÇÑ ¸óÄÉÀÌÇÎ
Áö±Ý ´Ù¿î·Îµå

Âù¾ç ¼øÀ§ ¹× ¿ä¾à

±¤°í

  • Rating:
  • ƯÇã:
  • GPL v3
  • °¡°Ý:
  • FREE
  • °Ô½ÃÀÚ À̸§:
  • Zero Piraeus
  • °Ô½ÃÀÚ À¥»çÀÌÆ®:
  • https://bitbucket.org/schesis/

Âù¾ç ű×


Âù¾ç ¼³¸í

OOK´Â Python ¹öÀüº°·Î MonkeAppatching Python ¸Þ¼­µå ¹× ±â´ÉÀ» Áö¿øÇÏ´Â °£´ÜÇÑ Python ¶óÀ̺귯¸®ÀÔ´Ï´Ù. ±×°ÍÀº ÇϳªÀÇ µ¥ÄÚ·¹ÀÌÅÍ, ÆÐÄ¡¸¦ Á¦°øÇÕ´Ï´Ù. PythonÀÇ ¹öÀü¿¡ µû¶ó ÅëÈ­ »óÀÚ¸¦ ÆÐÄ¡ÇÕ´Ï´Ù. OOKÀÇ Å×½ºÆ® ½ºÀ§Æ®¿¡¼­ »ç¿ëµÇ´Â examplethis : Import @ patch (IterTools, 2.5) DEF Á¶ÇÕ (ITerable, R) : #¿¡¼­ ...¿¡ Pool = Tuple (Iterable) N = Len (Pool) R> N : Return INDICE = ¹üÀ§ (R) À妽ºÀÇ Æ©Çà (Pool ÀÌ Æ©ÇÃ)ÀÌÀÖ´Â °æ¿ì : Reversed (Range (R))ÀÇ °æ¿ì : À妽º ! = i + n - r : insts : retine infection + = 1 ¹üÀ§ÀÇ j + = 1 (i + 1, r) : À妽º = »öÀÎ + 1 ¼öÀ² Æ©Çà (À妽º¿¡ÀÖ´Â Pool ) UsagePatch´Â @Patch (some.module.or.class, 2.5, "2.6.8", (2, 7, 3) def method_or_function (¼­¸í) : "" "¹º°¡¸¦ÇϽʽÿÀ." ""´Â ÃÖ¼Ò ¹× max Å°¿öµå Àμö»Ó¸¸ ¾Æ´Ï¶ó @patch (some.module.or.class, min = "2.5.4) ", max = 2.7) def method_or_function (¼­¸í) :" ""¹º°¡¸¦ÇϽʽÿÀ. "" "ÇÕ°Ý ... °áÇÕ ÇÒ ¼ö ÀÖ½À´Ï´Ù : @Patch (some.module.or.class,"3.1.5 ", max = 3.1) def method_or_function (¼­¸í) : "" "¹º°¡¸¦ÇϽʽÿÀ." ""Passnote : Å°¿öµå¿Í ºñ Å°¿öµå ¹öÀü Àμö¸¦ ¸ðµÎ ÁöÁ¤ÇÏ¸é ¸í½Ã ÀûÀ¸·Î ÁöÁ¤ÇÑ ¹öÀü°ú ¹¬½ÃÀû ¹öÀü ¹üÀ§°¡ ¸ðµÎ ¸¸Á·µÇ¸é ÆÐÄ¡°¡ Àû¿ëµË´Ï´Ù. Àμö°¡ ¾ø¾ú½À´Ï´Ù ¸ðµâ ¶Ç´Â Ŭ·¡½ºº¸´Ù ÆÐÄ¡ ÇÒ ¼öÀÖ´Â ÆÐÄ¡´Â Python ¹öÀü¿¡ °ü°è¾øÀÌ ÆÐÄ¡¸¦ Àû¿ëÇÕ´Ï´Ù. @Patch (some.module.or.class) DEF ¸Þµðµå _OR_FUNCTION (¼­¸í) : "" "¹º°¡¸¦Çصµ ¹«¾ð°¡¸¦ÇصµµË´Ï´Ù." ""passinstallationthis Æ®¸¯À»ÇؾßÇÕ´Ï´Ù : PIP´Â ookproductÀÇ È¨ÆäÀÌÁö¸¦ ¼³Ä¡ÇÕ´Ï´Ù.


Âù¾ç °ü·Ã ¼ÒÇÁÆ®¿þ¾î