def unstopped(tokenstream):
 return (t for t in tokenstream if (not t.stopped))

def unstopped ( tokenstream ) : return ( t for t in tokenstream if ( not t . stopped ) )
removes tokens from a token stream where token .