Table of Contents

Module: scanner src/scanner.py
Functions   
_findwrapper
_replacetype
multiplewrapper
scan
  _findwrapper 
_findwrapper (
        obj,
        t,
        unknown,
        guess,
        )

Find or make an appropriate wrapper class for an object. If guess is false, will return None if it couldn't count the object very well.

  _replacetype 
_replacetype ( t,  dict )

Some of the entries in sizes are indexed by string, since there's no good prototype object to use. Search for this object as a string in there and replace the entry if it's found. Also search for keys which are of the form type rather than id(type).

  multiplewrapper 
multiplewrapper ( constructors )

This class can wrap an object which has used multiple inheritance. It will make a wrapper for each of its supertypes in turn and then try to combine them.

  scan 
scan ( obj,  verbosity=default )

Classes   

Objects

The set of object wrappers returned by scanner.

UnknownType


Table of Contents

This document was automatically generated on Mon Apr 3 22:34:29 2006 by HappyDoc version 2.1