title: a byte like object is required not string in python 3 parsegps(str)
body: <p>am trying to write a code that well read data from my serial UART and parse the NMEA gps sentence by using pynmea2 module 
  i was running this code in python 2 and it  worked like magic ,when i tried to run it with python3 a type error rise am using python idle to write the code in my raspberry  pi 3 and all the hardware between neo 6m gps and the raspberry are fine my code is blow
  `</p>
  
  <pre><code>import serial
  import pynmea2
  
  def parseGPS(str):
  
      if str.find('GGA') &gt; 0:
          msg = pynmea2.parse(str)
          #print "Timestamp: %s -- Lat: %s %s -- Lon: %s %s -- Altitude: %s %s" % (msg.timestamp,msg.lat,msg.lat_dir,msg.lon,msg.lon_dir,msg.altitude,msg.altitude_units)
  
  serialPort = serial.Serial("/dev/ttyS0", 9600, timeout=0.5)
  
  while True:
      str = serialPort.readline()
      parseGPS(str)
  </code></pre>
  
  <p>`</p>
  
  <p>and i get this Messag  </p>
  
  <pre><code> "if str.find('GGA').0:
      TypeError:'a bytes-like object is required, not 'str' "
  </code></pre>