コード例 #1
0
ファイル: basic_usage.py プロジェクト: sarum90/ziffect
 def concat(operator_a=ziffect.argument(type=text_type),
            operator_b=ziffect.argument(type=text_type)):
     """
     The concat method does some sort of action on two text arguments.
     """
     pass
コード例 #2
0
ファイル: basic_usage.py プロジェクト: sarum90/ziffect
 def add(operator_a=ziffect.argument(type=int),
         operator_b=ziffect.argument(type=int)):
     """
     The add method does some sort of action on two ints.
     """
     pass