From patchwork Fri Jun 2 15:56:37 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tom de Vries X-Patchwork-Id: 70549 Return-Path: X-Original-To: patchwork@sourceware.org Delivered-To: patchwork@sourceware.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 8D5AB3857704 for ; Fri, 2 Jun 2023 15:59:20 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 8D5AB3857704 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1685721560; bh=4D0hsGLa6TjpQoq96Xy+x9soLceUBJqVBogchEibdis=; h=To:Subject:Date:In-Reply-To:References:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To: From; b=VE4tjjxRfWX1A71w8jsLbS9R1c2Y+ZjfycGNdp7dPRi+hPHI42ycthwSj4f31P2o3 Zux9ENpnksDZ+/htDP7lrfTt2LOtJKC0dMd5uDBxE+TdWe0V4UDkWqSdtuWHywswi9 E9p2oVKVgbuWzsKJo+9OhYCvXdM+Owpewv6xmtSM= X-Original-To: gdb-patches@sourceware.org Delivered-To: gdb-patches@sourceware.org Received: from smtp-out1.suse.de (smtp-out1.suse.de [IPv6:2001:67c:2178:6::1c]) by sourceware.org (Postfix) with ESMTPS id 51B163858D3C for ; Fri, 2 Jun 2023 15:56:36 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 51B163858D3C Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out1.suse.de (Postfix) with ESMTPS id 1D25121A52 for ; Fri, 2 Jun 2023 15:56:34 +0000 (UTC) Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap2.suse-dmz.suse.de (Postfix) with ESMTPS id 0AD1F133E6 for ; Fri, 2 Jun 2023 15:56:34 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id cP96ATIRemQ6ewAAMHmgww (envelope-from ) for ; Fri, 02 Jun 2023 15:56:34 +0000 To: gdb-patches@sourceware.org Subject: [PATCH 08/10] [gdb/python] Fix doc string of valpy_const_value Date: Fri, 2 Jun 2023 17:56:37 +0200 Message-Id: <20230602155639.28245-9-tdevries@suse.de> X-Mailer: git-send-email 2.35.3 In-Reply-To: <20230602155639.28245-1-tdevries@suse.de> References: <20230602155639.28245-1-tdevries@suse.de> MIME-Version: 1.0 X-Spam-Status: No, score=-12.1 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, SPF_HELO_NONE, SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: gdb-patches@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Patchwork-Original-From: Tom de Vries via Gdb-patches From: Tom de Vries Reply-To: Tom de Vries Errors-To: gdb-patches-bounces+patchwork=sourceware.org@sourceware.org Sender: "Gdb-patches" In gdb/python/py-value.c, in the value_object_methods array I noticed: ... { "const_value", valpy_const_value, METH_NOARGS, "Return a 'const' qualied version of the same value." }, ... Fix the qualied -> qualified typo. --- gdb/python/py-value.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gdb/python/py-value.c b/gdb/python/py-value.c index 6c62820c63b..a3d80adce03 100644 --- a/gdb/python/py-value.c +++ b/gdb/python/py-value.c @@ -2106,7 +2106,7 @@ reinterpret_cast operator." { "rvalue_reference_value", valpy_rvalue_reference_value, METH_NOARGS, "Return a value of type TYPE_CODE_RVALUE_REF referencing this value." }, { "const_value", valpy_const_value, METH_NOARGS, - "Return a 'const' qualied version of the same value." }, + "Return a 'const' qualified version of the same value." }, { "lazy_string", (PyCFunction) valpy_lazy_string, METH_VARARGS | METH_KEYWORDS, "lazy_string ([encoding] [, length]) -> lazy_string\n\