From: Armin Ronacher Date: Tue, 15 Apr 2008 20:10:46 +0000 (+0200) Subject: removed unusde __delitem__ for context X-Git-Tag: 2.0rc1~168 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=b9bed15d7b461c6cea569e10b20c41da73667d3b;p=jinja2.git removed unusde __delitem__ for context --HG-- branch : trunk --- 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)