Pythonã§ããã°ã©ã ãæ¸ãã¦ããã¨ãããé¢æ°ã®ä¸ã§é¢æ°ãä½ããã¨ãããã¾ãã Python ã¯ã¯ãã¼ã¸ã£ã«å¯¾å¿ãã¦ãã¦ãé¢æ°ã®ä¸ã§ä½ãããé¢æ°ã¯ãå¤å´ã®é¢æ°ã®ãã¼ã«ã«å¤æ°ãåç §ãããã¨ãã§ãã¾ãã ã¯ãã¼ã¸ã£ãä¸çªå½¹ã«ç«ã¤å ´é¢ããã³ã¬ã¼ã¿ã§ãã次ã®ä¾ã§ã¯ãå¼æ°ãåããã³ã¬ã¼ã¿ãä½ãããã«é¢æ°å é¢æ°ã2段éä½æããããããã®ãã¼ã«ã«å¤æ°ãä¸çªå å´ããåç §ãã¦ãã¾ãï¼ãã®ããã°ã©ã ã¯ãPython 2.6ã¨Python 3.0ã®ä¸¡æ¹ã§åãã¾ãâ ï¼â ã ãªã¹ã1 # coding: utf-8 from __future__ import print_function import sys def log(out=sys.stderr): def decorator(func): name = func.__name__ def decorated(*args, **kwargs): ###
{{#tags}}- {{label}}
{{/tags}}