Пример #1
0
 def create_the_long_way(self, *inputs):
     """
     "Helper method that returns a Template with the given inputs.
     """
     t = Template()
     for i in inputs:
         t.learn(i)
     return t
Пример #2
0
 def create_the_long_way(self, *inputs):
     """
     "Helper method that returns a Template with the given inputs.
     """
     t = Template()
     for i in inputs:
         t.learn(i)
     return t
Пример #3
0
 def create_the_short_way(self, *inputs):
     t = Template()
     t.learn(*inputs)
     return t
Пример #4
0
 def create_the_short_way(self, *inputs):
     t = Template()
     t.learn(*inputs)
     return t