title: Why is second argument not detected in Python Coroutines?
body: <p>I have modified some code from <a href="http://book.pythontips.com/en/latest/coroutines.html" rel="nofollow noreferrer">Coroutines</a> as follows:</p>
  
  <pre><code>def grep(p1, p2):
      print("Searching for", p1 ,"and", p2)
      while True:
          line = (yield)
          if (p1 or p2) in line:
              print(line)
  
  search = grep('love', 'woman')
  next(search)
  search.send("I love you")
  search.send("Don't you love me?")
  search.send("I love coroutines instead!")   
  search.send("Beatiful woman")
  </code></pre>
  
  <p>Output:</p>
  
  <blockquote>
    <p>Searching for love and woman<br>
    I love you<br>
    Don't you love me?<br>
    I love coroutines instead!  </p>
  </blockquote>
  
  <p>Second argument <code>"woman"</code> is not recognized in the last search. Why is that?</p>