Example #1
0
 def build(self):
     return Tag.text(self.n, *self.stars())
Example #2
0
 def build(self):
     ll = [Star(i) for i in range(int(self.n))]
     return Tag.text("-%s-" % self.n, *ll)
Example #3
0
 def build(self):
     return Tag.text(self.compute(), self.stars(
     ))  # <---- DANGEROUS the binded is str'ised at build !!!!
Example #4
0
 def compute(self):
     return Tag.text("-%s-" % self.n)
Example #5
0
 def stars(self):
     return Tag.text(*[Star(i) for i in range(int(self.n))])
Example #6
0
 def build(self):
     return Tag.text("-%s-" % self.n, self.stars(
     ))  # <---- DANGEROUS the binded is str'ised at build !!!!