2012-03-27 | Paul Boddie | raw files shortlog changelog graph | Reverted the object table index acquisition change for accessor strings. | |
micropython/rsvp.py (file) |
1.1 --- a/micropython/rsvp.py Mon Mar 26 23:24:38 2012 +0200 1.2 +++ b/micropython/rsvp.py Tue Mar 27 23:30:19 2012 +0200 1.3 @@ -197,7 +197,7 @@ 1.4 if type_name in ("__builtins__.tuple", "__builtins__.list"): 1.5 return [len(value)] + list(value) 1.6 elif type_name == "__builtins__._accessor": 1.7 - return [value, objtable.get_index("#" + value)] 1.8 + return [value, objtable.get_index(value)] 1.9 else: 1.10 return [value] 1.11