Changeset 207
- Timestamp:
- 04/26/08 13:53:33 (9 months ago)
- Files:
-
- packages/vanilla/trunk/Documentation/autoDoc.py (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
packages/vanilla/trunk/Documentation/autoDoc.py
r1 r207 132 132 133 133 def extractMethodDoc(func, className): 134 if func is None: 135 return 136 # hack around standard attributes 137 if isinstance(func, (dict, int)): 138 return 139 if repr(func).startswith("<objective-c class"): 140 return 141 if "VanillaTabItem" in repr(func): 142 return 134 143 funcName = func.__name__ 135 144 if hasattr(func, 'callable'): … … 341 350 continue 342 351 # get the method name and formatted doc 343 methodName, methodDoc = extractMethodDoc(getattr(cls, attr), className) 352 result = extractMethodDoc(getattr(cls, attr), className) 353 if result is None: 354 continue 355 methodName, methodDoc = result 344 356 methods[methodName] = methodDoc 345 357 sortedMethods = methods.keys()
