1.1 --- a/micropython/inspect.py Fri Jun 29 01:40:50 2012 +0200
1.2 +++ b/micropython/inspect.py Fri Jun 29 01:44:08 2012 +0200
1.3 @@ -548,8 +548,10 @@
1.4 value = expr.get_value()
1.5
1.6 # Get the attribute and record its usage.
1.7 + # NOTE: Need to provide concrete values for things like base classes
1.8 + # NOTE: while also handling module attribute modification.
1.9
1.10 - if isinstance(value, Class):
1.11 + if isinstance(value, (Class, Module)):
1.12
1.13 # Check for class.__class__.
1.14