Skip to content
Myr

removed unusde __delitem__ for context

Before adoption: this commit came in with the history the project adopted, so no landing records it.

--HG-- branch : trunk

authored by Armin Ronacher · committed by Armin Ronacher · parent b6fc38c · Browse files · 1 file+0 added−5 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+0 added−5 removed

  • other:+0 added−5 removed

1 file+0 added−5 removed

modified:jinja2/runtime.py-5 removed
62 unmodified lines
63 that includes can access the exported variables."""64 dict.__setitem__(self, key, value)65 self.exported.add(key)6667 def __delitem__(self, key):68 """On delete we no longer export it."""69 dict.__delitem__(self, key)70 self.exported.dicard(key)7167 def get_exported(self):68 """Get a dict of all exported variables."""69 return dict((k, self[k]) for k in self.exported)70
247 unmodified lines