Declares object to be a valid constructor. If object is not callable (and hence not valid as a constructor), raises TypeError.
copyreg/constructor
constructor