Dolda2000 GitWeb
/
wrw.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Reimplemented the SP output formatters to hopefully work better and faster.
[wrw.git]
/
wrw
/
env.py
diff --git
a/wrw/env.py
b/wrw/env.py
index
56d040d
..
ed313a3
100644
(file)
--- a/
wrw/env.py
+++ b/
wrw/env.py
@@
-10,7
+10,7
@@
class stack(object):
class environment(object):
__slots__ = ["parent", "map"]
class environment(object):
__slots__ = ["parent", "map"]
- def __init__(self, parent
=
None):
+ def __init__(self, parent
=
None):
self.parent = parent
self.map = weakref.WeakKeyDictionary()
self.parent = parent
self.map = weakref.WeakKeyDictionary()
@@
-74,7
+74,7
@@
class binding(object):
class var(object):
__slots__ = ["__weakref__"]
class var(object):
__slots__ = ["__weakref__"]
- def __init__(self, default
=
None):
+ def __init__(self, default
=
None):
if default is not None:
root.map[self] = default
if default is not None:
root.map[self] = default