parameters: (object)
return_statement: return None
docstring: Return constructor for class object, or None if there isn't one.
docstring_summary: Return constructor for class object, or None if there isn't one.
docstring_tokens: Return constructor for class object or None if there isn t one .
function: def getConstructor(object):
      """Return constructor for class object, or None if there isn't one."""
      try:
          return object.__init__.im_func
      except AttributeError:
          for base in object.__bases__:
              constructor = getConstructor(base)
              if constructor is not None:
                  return constructor
      return None
function_tokens: def getConstructor ( object ) : try : return object . __init__ . im_func except AttributeError : for base in object . __bases__ : constructor = getConstructor ( base ) if constructor is not None : return constructor return None