[Checkins]
SVN: martian/branches/philikon-methodgrokker/src/martian/components.py
Make MethodGrokker inherit from ClassGrokker again because we
would otherwise have
Philipp von Weitershausen
philikon at philikon.de
Mon May 26 08:32:53 EDT 2008
Log message for revision 86972:
Make MethodGrokker inherit from ClassGrokker again because we would otherwise have
to introduce a lot of machinery to enable it (meta grokkers, etc.)
Changed:
U martian/branches/philikon-methodgrokker/src/martian/components.py
-=-
Modified: martian/branches/philikon-methodgrokker/src/martian/components.py
===================================================================
--- martian/branches/philikon-methodgrokker/src/martian/components.py 2008-05-26 12:22:44 UTC (rev 86971)
+++ martian/branches/philikon-methodgrokker/src/martian/components.py 2008-05-26 12:32:53 UTC (rev 86972)
@@ -66,9 +66,7 @@
raise NotImplementedError
-class MethodGrokker(ComponentGrokkerBase):
- # Use a tuple instead of a list here to make it immutable, just to be safe
- directives = ()
+class MethodGrokker(ClassGrokker):
def grok(self, name, class_, module_info=None, **kw):
module = None
More information about the Checkins
mailing list