def pdef(self, obj, oname='<STR_LIT>'):
if not callable(obj):<EOL><INDENT>print('<STR_LIT>')<EOL>return<EOL><DEDENT>header = '<STR_LIT>'<EOL>if inspect.isclass(obj):<EOL><INDENT>header = self.__head('<STR_LIT>')<EOL>obj = obj.__init__<EOL><DEDENT>elif (not py3compat.PY3) and type(obj) is types.InstanceType:<EOL><INDENT>obj = obj.__call__<EOL><DEDENT>output = self._getdef(obj,oname)<EOL>if output is None:<EOL><INDENT>self.noinfo('<STR_LIT>',oname)<EOL><DEDENT>else:<EOL><INDENT>print(header,self.format(output), end='<STR_LIT:U+0020>', file=io.stdout)<EOL><DEDENT>
Print the definition header for any callable object.

        If the object is a class, print the constructor information.