소스 검색

added the output of decorator

Sakis Kasampalis 11 년 전
부모
커밋
83009281ed
1개의 변경된 파일3개의 추가작업 그리고 0개의 파일을 삭제
  1. 3 0
      decorator.py

+ 3 - 0
decorator.py

@@ -23,3 +23,6 @@ def hello():
 
 if __name__ == '__main__':
     print('result:{}   name:{}   doc:{}'.format(hello(), hello.__name__, hello.__doc__))
+
+### OUTPUT ###
+# result:<b><i>hello world</i></b>   name:hello   doc:a decorated hello world