equal
deleted
inserted
replaced
240 default=None, |
240 default=None, |
241 ) |
241 ) |
242 |
242 |
243 # we need to do old style declaration for <= 4.5 |
243 # we need to do old style declaration for <= 4.5 |
244 templatekeyword = registrar.templatekeyword() |
244 templatekeyword = registrar.templatekeyword() |
245 post45template = 'requires=' in templatekeyword.__doc__ |
245 post45template = r'requires=' in templatekeyword.__doc__ |
246 |
246 |
247 def _contexttopic(self, force=False): |
247 def _contexttopic(self, force=False): |
248 if not (force or self.mutable()): |
248 if not (force or self.mutable()): |
249 return '' |
249 return '' |
250 return self.extra().get(constants.extrakey, '') |
250 return self.extra().get(constants.extrakey, '') |