summaryrefslogtreecommitdiff
path: root/templates/python/context.py
diff options
context:
space:
mode:
Diffstat (limited to 'templates/python/context.py')
-rw-r--r--templates/python/context.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/templates/python/context.py b/templates/python/context.py
index 9bb8056..df86b02 100644
--- a/templates/python/context.py
+++ b/templates/python/context.py
@@ -21,3 +21,6 @@ class Context:
def __contains__(self, key):
return key in self._vars
+
+ def __delitem__(self, key):
+ del self._vars[key]