def _skip_whitespace(data, pos, must_be_nontrivial=False):
 if must_be_nontrivial:
  if ((pos == len(data)) or (not data[pos].isspace())):
   raise ParsingError(u'Expecting whitespace at {0}!'.format(_format_position(data, pos)))
 while (pos < len(data)):
  if (not data[pos].isspace()):
   break
  pos += 1
 return pos

def _skip_whitespace ( data , pos , must_be_nontrivial = False ) : if must_be_nontrivial : if ( ( pos == len ( data ) ) or ( not data [ pos ] . isspace ( ) ) ) : raise ParsingError ( u'Expecting whitespace at {0}!' . format ( _format_position ( data , pos ) ) ) while ( pos < len ( data ) ) : if ( not data [ pos ] . isspace ( ) ) : break pos += 1 return pos
return first position after whitespace .