def _bytes_iterator_py3(bytes_):
 for b in bytes_:
  (yield bytes([b]))

def _bytes_iterator_py3 ( bytes_ ) : for b in bytes_ : ( yield bytes ( [ b ] ) )
returns iterator over a bytestring in python 3 .