def _screen_docrevise(docstr):
 import re
 if (docstr is None):
  return None
 screenname = _CFG['examplescreen']
 newdocstr = docstr.replace(('%s.' % screenname), '')
 parexp = re.compile((' \\(.+ %s\\):' % screenname))
 newdocstr = parexp.sub(':', newdocstr)
 return newdocstr

def _screen_docrevise ( docstr ) : import re if ( docstr is None ) : return None screenname = _CFG [ 'examplescreen' ] newdocstr = docstr . replace ( ( '%s.' % screenname ) , '' ) parexp = re . compile ( ( ' \\(.+ %s\\):' % screenname ) ) newdocstr = parexp . sub ( ':' , newdocstr ) return newdocstr
to reduce docstrings from turtlescreen class for functions .