From nobody Wed Nov 27 18:55:28 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1697449295; cv=none; d=zohomail.com; s=zohoarc; b=RFvy5wN4Tq9QmTAwVtsu1x/5/MWRH3RP02HafEfcpZSfcGrwC1urR9kXGYDhHwh8ZSEJj2C4TXpgRYvcemgwpioSDGSx+HY+Fz8rGqy0foO/BNVhq65fLMgH51ekXB8V86OoEfQrwOj5qNf+FGnDQS9oy9DicU0kF/N28LufPG8= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1697449295; h=Content-Type:Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=osYb4P7yKsOqBYf2AssoFGvXP8FQaTw6Vd8tofb+mDQ=; b=Tu28C1dyZOc71zHIqLfEwVxQ0L2G0YRIX1/2XdxrbgRCg7d+Q/Ul2SqSaFjuMdysgkBdQ5IYKP4mKnmnpzrQU8XTEYRxdd80GQSln1iCe9jQ5rdrQ1hymDlP+AGmWElsQ0ahfnLPFHSh2bbOtSf/hAffBd1hHZ+DcVCo/lljvG4= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass header.from= (p=none dis=none) Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1697449295732379.64557582107216; Mon, 16 Oct 2023 02:41:35 -0700 (PDT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qsK5M-0007OC-BT; Mon, 16 Oct 2023 05:40:28 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qsK5K-0007Id-Ie for qemu-devel@nongnu.org; Mon, 16 Oct 2023 05:40:26 -0400 Received: from us-smtp-delivery-124.mimecast.com ([170.10.129.124]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qsK5H-0002bo-Qj for qemu-devel@nongnu.org; Mon, 16 Oct 2023 05:40:26 -0400 Received: from mail-ej1-f71.google.com (mail-ej1-f71.google.com [209.85.218.71]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-345-zeI8fWo4MGKhi9uVQtbiOw-1; Mon, 16 Oct 2023 05:40:20 -0400 Received: by mail-ej1-f71.google.com with SMTP id a640c23a62f3a-9bd86510329so307445366b.0 for ; Mon, 16 Oct 2023 02:40:20 -0700 (PDT) Received: from [192.168.10.118] ([2001:b07:6468:f312:63a7:c72e:ea0e:6045]) by smtp.gmail.com with ESMTPSA id x15-20020a170906710f00b009ae5e46210asm3702447ejj.99.2023.10.16.02.40.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 16 Oct 2023 02:40:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1697449222; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=osYb4P7yKsOqBYf2AssoFGvXP8FQaTw6Vd8tofb+mDQ=; b=f+5pr/eSVc23/zMqxi0eykREJ+TiZeWR0jizKdggzeRVhXqTovm+KS2qJNzRVXJAISYlP+ 2L4dvyvm4SoiAKoxeW/3fB+ycfSxXR8a+xZk4Fas2t3qaBXeTcqPqyPHrwF55Xa+vfEWsM Y+Ym1p1zQ6JNmg8eN/zA8AxjmUOIByo= X-MC-Unique: zeI8fWo4MGKhi9uVQtbiOw-1 X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1697449219; x=1698054019; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=osYb4P7yKsOqBYf2AssoFGvXP8FQaTw6Vd8tofb+mDQ=; b=AHJGHJf6epUSKqXH41Oh2ItatT3G7dRKFd1apk1udd4/sRAL6ocHAb/wFSQObbfQWU dv0x50DUjkSVsJphfZ68VHTrnmlAOje3cXZDgKkwZzqA+CFQiDXkzaRvUkcL/qBi/Lbj BRSA4iFFyFb8UwA2P1H8Am9eDO23tFCs1zq5g1wc2nOQK9wMuXdoQvaG5mSP+R311cW1 4apgvlDGuyIODF7vrq0NkvKY6AwP4hAT1IOz/qxBC1F8SrKc8y0EJLgLpUqu+Ufy1kgo CO4DWNMPSmYKKAOtm03OM3xbyaKUm/0/hGoMMLss7i7qsl92Yeq5Mr0BFRxaTfKiqkl3 hn6w== X-Gm-Message-State: AOJu0YzOHzcidQ2ALC92jfwwcwa4Rk7v0L0PJH17JETQ66muiesvra1Y qf2gYldQa2UQ3fkduqMuAylI0QWIXY55c/OK7kccFanmBW37EttsvRNpq4wkDJJ/rtAP1JZlhVQ gWWzUtNm5GPvW818bUCu8yAFc+extdGpSNQzCKuF4FnRQLErELGvtfxK7kBOsrWMOYIXIXEWO3g Q= X-Received: by 2002:a17:907:7f0c:b0:9be:fc31:8cd4 with SMTP id qf12-20020a1709077f0c00b009befc318cd4mr5762838ejc.18.1697449218955; Mon, 16 Oct 2023 02:40:18 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHozOv2DBZUfTE2646RHFEa1J495wqcgnalCB+LT5F/NVfJHMEDPrY6Kkipvd8Oo2XhpQ60Eg== X-Received: by 2002:a17:907:7f0c:b0:9be:fc31:8cd4 with SMTP id qf12-20020a1709077f0c00b009befc318cd4mr5762823ejc.18.1697449218492; Mon, 16 Oct 2023 02:40:18 -0700 (PDT) From: Paolo Bonzini To: qemu-devel@nongnu.org Cc: qemu-stable@nongnu.org Subject: [PATCH] docs/sphinx: avoid invalid escape in Python string Date: Mon, 16 Oct 2023 11:40:12 +0200 Message-ID: <20231016094016.173598-1-pbonzini@redhat.com> X-Mailer: git-send-email 2.41.0 MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=170.10.129.124; envelope-from=pbonzini@redhat.com; helo=us-smtp-delivery-124.mimecast.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=unavailable autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZohoMail-DKIM: pass (identity @redhat.com) X-ZM-MESSAGEID: 1697449296342100001 Content-Type: text/plain; charset="utf-8" This is an error in Python 3.12; fix it by using a raw string literal. Cc: qemu-stable@nongnu.org Signed-off-by: Paolo Bonzini Reviewed-by: Philippe Mathieu-Daud=C3=A9 --- docs/sphinx/hxtool.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/sphinx/hxtool.py b/docs/sphinx/hxtool.py index fb0649a3d5b..9f6b9d87dcc 100644 --- a/docs/sphinx/hxtool.py +++ b/docs/sphinx/hxtool.py @@ -49,7 +49,7 @@ def serror(file, lnum, errtext): =20 def parse_directive(line): """Return first word of line, if any""" - return re.split('\W', line)[0] + return re.split(r'\W', line)[0] =20 def parse_defheading(file, lnum, line): """Handle a DEFHEADING directive""" --=20 2.41.0