def _markers(pem_marker):
 if is_bytes(pem_marker):
  pem_marker = pem_marker.decode('utf-8')
 return (b(('-----BEGIN %s-----' % pem_marker)), b(('-----END %s-----' % pem_marker)))

def _markers ( pem_marker ) : if is_bytes ( pem_marker ) : pem_marker = pem_marker . decode ( 'utf-8' ) return ( b ( ( '-----BEGIN %s-----' % pem_marker ) ) , b ( ( '-----END %s-----' % pem_marker ) ) )
returns the start and end pem markers .