From b9bed15d7b461c6cea569e10b20c41da73667d3b Mon Sep 17 00:00:00 2001 From: Armin Ronacher Date: Tue, 15 Apr 2008 22:10:46 +0200 Subject: [PATCH] removed unusde __delitem__ for context --HG-- branch : trunk --- jinja2/runtime.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/jinja2/runtime.py b/jinja2/runtime.py index d3864b8..70ef9d8 100644 --- a/jinja2/runtime.py +++ b/jinja2/runtime.py @@ -64,11 +64,6 @@ class TemplateContext(dict): dict.__setitem__(self, key, value) self.exported.add(key) - def __delitem__(self, key): - """On delete we no longer export it.""" - dict.__delitem__(self, key) - self.exported.dicard(key) - def get_exported(self): """Get a dict of all exported variables.""" return dict((k, self[k]) for k in self.exported) -- 2.26.2