parameters: (self, partial_parses)
return_statement: return [("RA" if len(pp.stack) % 2 == 0 else "LA") if len(pp.buffer) == 0 else "S"
                  for pp in partial_parses]
docstring: First shifts everything onto the stack and then interleaves "right" and "left".
docstring_summary: First shifts everything onto the stack and then interleaves "right" and "left".
docstring_tokens: First shifts everything onto the stack and then interleaves right and left .
function: def interleave_predict(self, partial_parses):
          """First shifts everything onto the stack and then interleaves "right" and "left".
          """
          return [("RA" if len(pp.stack) % 2 == 0 else "LA") if len(pp.buffer) == 0 else "S"
                  for pp in partial_parses]
function_tokens: def interleave_predict ( self , partial_parses ) : return [ ( "RA" if len ( pp . stack ) % 2 == 0 else "LA" ) if len ( pp . buffer ) == 0 else "S" for pp in partial_parses ]