Pythonã§èªåç¨ã®å°ç©ã¢ããªãçµæ§æ¸ãæºãã¦ããã§ããã©ãå®ã¯ãã®ã»ã¨ãã©ã«ãã©ã°ã¤ã³ã·ã¹ãã ã¿ãããªã®ãã¤ãã£ã¦ãããã¾ãã ãã¨ãã°ãã¡ã¤ã«ã®æ´çèªååã¿ãããªã®ããã¡ã¤ã«ã®ç§»ååã«å¦çã追å ãããã¦ãªé¨åããã©ã°ã¤ã³ã«ãã¦ããããã§ãã ã¾ãæ©è½çã«ã¯CPANã®Class::Componentã£ã½ãããã§ãããã§ããããã¾ã§é«æ©è½ãªã®ã¯ãããªãã®ã§ãã·ã³ãã«ã«èªåãå¿ è¦ãªé¨åã ãã¾ã¨ãã¦ã¿ã¾ããã 1from inspect import getmembers, ismethod 2import types 3 4class Pluggable(object): 5 def __init__(self): 6 self.hooks = {} 7 8 def load(self, *config): 9 self.load_config(*config) 10 self.load_
{{#tags}}- {{label}}
{{/tags}}