def _construct_default_doc(self, longname=None, extradoc=None):
if extradoc is None:<EOL><INDENT>extradoc = '<STR_LIT>'<EOL><DEDENT>if extradoc.startswith('<STR_LIT>'):<EOL><INDENT>extradoc = extradoc[<NUM_LIT:2>:]<EOL><DEDENT>self.__doc__ = '<STR_LIT>'.join(['<STR_LIT>' % longname,<EOL>'<STR_LIT>', docheaders['<STR_LIT>'],<EOL>extradoc, '<STR_LIT>'])<EOL>self._construct_doc(docdict_discrete)<EOL>
Construct instance docstring from the rv_discrete template.