1.1 --- a/micropython/rsvp.py Sun Jun 06 03:03:09 2010 +0200
1.2 +++ b/micropython/rsvp.py Sun Jun 06 15:27:50 2010 +0200
1.3 @@ -177,12 +177,12 @@
1.4 if not self.is_generated(with_builtins):
1.5 item.code_location = item.full_name()
1.6
1.7 - # Skip any defaults for named functions.
1.8 + # Skip any defaults for static functions.
1.9
1.10 - elif item.name is not None:
1.11 + elif not item.is_dynamic():
1.12 item.code_location = location + len(item.defaults)
1.13
1.14 - # Skip any defaults for lambda functions.
1.15 + # Skip any defaults for dynamic functions.
1.16
1.17 else:
1.18 item.code_location = location