parameters: (meshes, strings, dim=0)
return_statement: return False
docstring: probes a list of strings for meshable pairs. the first string is checked
      against the second, third/fourth, etc. mesh and unmeshed string lists are 
      modified in place. returns True if all strings have been meshed; else returns
      False.
docstring_summary: probes a list of strings for meshable pairs. the first string is checked
      against the second, third/fourth, etc. mesh and unmeshed string lists are 
      modified in place. returns True if all strings have been meshed; else returns
      False.
docstring_tokens: probes a list of strings for meshable pairs . the first string is checked against the second third / fourth etc . mesh and unmeshed string lists are modified in place . returns True if all strings have been meshed ; else returns False .
function: def simple_traverse(meshes, strings, dim=0):
      """probes a list of strings for meshable pairs. the first string is checked
      against the second, third/fourth, etc. mesh and unmeshed string lists are 
      modified in place. returns True if all strings have been meshed; else returns
      False."""
  #    print 'here are the strings passed to simple_traverse', strings
  #    print 'and dim is', dim
      matched = []
      for i in range(len(strings) - 2, -1 + dim, -2):
          num1 = strings[i][1]
          num2 = strings[i + 1][1]
  #        print num1, num2
          if num1 & num2 == 0:
              matched.append(i)
              meshes.append((strings[i], strings[i + 1]))
  #            meshes.append(strings[i+1])
  #            print "adding mesh {}, {}".format(strings[i], strings[i+1])
      for x in matched:
          del strings[x + 1]
          del strings[x]
      if len(strings) == 0:
          return True
      return False
function_tokens: def simple_traverse ( meshes , strings , dim = 0 ) : #    print 'here are the strings passed to simple_traverse', strings #    print 'and dim is', dim matched = [ ] for i in range ( len ( strings ) - 2 , - 1 + dim , - 2 ) : num1 = strings [ i ] [ 1 ] num2 = strings [ i + 1 ] [ 1 ] #        print num1, num2 if num1 & num2 == 0 : matched . append ( i ) meshes . append ( ( strings [ i ] , strings [ i + 1 ] ) ) #            meshes.append(strings[i+1]) #            print "adding mesh {}, {}".format(strings[i], strings[i+1]) for x in matched : del strings [ x + 1 ] del strings [ x ] if len ( strings ) == 0 : return True return False