From 8d285e435beb70aa10f0f74bd86036c01e6147e2 Mon Sep 17 00:00:00 2001 From: Fredrik Tolf Date: Sun, 5 Feb 2012 18:36:45 +0100 Subject: [PATCH] Fixed env bug. --- wrw/env.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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): -- 2.11.0