micropython/table.py | raw changeset files shortlog |
1.1 --- a/micropython/table.py Mon May 09 00:56:35 2011 +0200 1.2 +++ b/micropython/table.py Tue May 10 00:48:24 2011 +0200 1.3 @@ -172,7 +172,7 @@ 1.4 1.5 # Support descendants. 1.6 1.7 - if isinstance(attr, Class): 1.8 + if isinstance(attr, (Class, Module)): 1.9 return (attr_index, None, None) 1.10 1.11 # Get the absolute location for classes and modules.