def state_class_str(state):
 if (state is None):
  return 'None'
 else:
  return ('<%s>' % (state.class_.__name__,))

def state_class_str ( state ) : if ( state is None ) : return 'None' else : return ( '<%s>' % ( state . class_ . __name__ , ) )
return a string describing an instances class via its instancestate .