def base_context(s='', log=None):
 ctx.contexts[(-1)] = ''
 ctx.contexts[(-2)] = s
 if (s and log):
  log(('Context: %s' % get_context()))

def base_context ( s = '' , log = None ) : ctx . contexts [ ( - 1 ) ] = '' ctx . contexts [ ( - 2 ) ] = s if ( s and log ) : log ( ( 'Context: %s' % get_context ( ) ) )
set the base context for the currently executing function and optionally log it .