Super the block.
(self)
| 332 | |
| 333 | @property |
| 334 | def super(self): |
| 335 | """Super the block.""" |
| 336 | if self._depth + 1 >= len(self._stack): |
| 337 | return self._context.environment. \ |
| 338 | undefined('there is no parent block called %r.' % |
| 339 | self.name, name='super') |
| 340 | return BlockReference(self.name, self._context, self._stack, |
| 341 | self._depth + 1) |
| 342 | |
| 343 | @internalcode |
| 344 | def __call__(self): |
nothing calls this directly
no test coverage detected