From: Fredrik Tolf Date: Sun, 5 Feb 2012 17:36:45 +0000 (+0100) Subject: Fixed env bug. X-Git-Url: http://git.dolda2000.com/gitweb/?a=commitdiff_plain;h=8d285e435beb70aa10f0f74bd86036c01e6147e2;p=wrw.git Fixed env bug. --- diff --git a/wrw/env.py b/wrw/env.py index 6c7e859..56d040d 100644 --- a/wrw/env.py +++ b/wrw/env.py @@ -11,7 +11,7 @@ class stack(object): class environment(object): __slots__ = ["parent", "map"] def __init__(self, parent = None): - self.parent = None + self.parent = parent self.map = weakref.WeakKeyDictionary() def get(self, var):