

def extend_template_namespace(self, map):
    '\n        Add session-related entries to the template namespace. This is\n        required for all the handlers that use the "base.html" template,\n        which is all of them.\n        (I suppose I could handle this by the right super implementation\n        of get_template_namespace.)\n        '
    self['twsessionstatus'] = self.twsessionstatus
    map['twsession'] = self.twsession
    return map

dataset/ETHPy150Open erkyrath/tworld/lib/tweblib/handlers.py MyHandlerMixin.extend_template_namespace/VarMisuse@14/117 `map`->`self`