summaryrefslogtreecommitdiffstats
path: root/Lib/compiler/misc.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/compiler/misc.py')
-rw-r--r--Lib/compiler/misc.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/Lib/compiler/misc.py b/Lib/compiler/misc.py
index 5a3e261..0dc6422 100644
--- a/Lib/compiler/misc.py
+++ b/Lib/compiler/misc.py
@@ -7,6 +7,8 @@ class Set:
return self.elts.keys()
def has_elt(self, elt):
return self.elts.has_key(elt)
+ def remove(self, elt):
+ del self.elts[elt]
class Stack:
def __init__(self):