Dolda2000 GitWeb
/
wrw.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1f61bf3
)
Fixed env bug.
author
Fredrik Tolf
<fredrik@dolda2000.com>
Sun, 5 Feb 2012 17:36:45 +0000
(18:36 +0100)
committer
Fredrik Tolf
<fredrik@dolda2000.com>
Sun, 5 Feb 2012 17:36:45 +0000
(18:36 +0100)
wrw/env.py
patch
|
blob
|
blame
|
history
diff --git
a/wrw/env.py
b/wrw/env.py
index
6c7e859
..
56d040d
100644
(file)
--- 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):