@requires_segment_info
def current_code_name(pl, segment_info):
 return segment_info[u'curframe'].f_code.co_name

@ requires_segment_info def current_code_name ( pl , segment_info ) : return segment_info [ u'curframe' ] . f_code . co_name
displays name of the code object of the current frame .