(fo, sync_marker)
Skip an expected sync marker, complaining if it doesn't match
Skip an expected sync marker, complaining if it doesn't match
Skip an expected sync marker complaining if it doesn t match
def skip_sync(fo, sync_marker):
    """Skip an expected sync marker, complaining if it doesn't match"""
    if fo.read(SYNC_SIZE) != sync_marker:
        raise ValueError("expected sync marker not found")
def skip_sync ( fo , sync_marker ) : if fo . read ( SYNC_SIZE ) != sync_marker : raise ValueError ( "expected sync marker not found" )