From 2242afe89683fc5fada197595c5b78a6620032a8 Mon Sep 17 00:00:00 2001 From: Tom de Vries Date: Sat, 3 Jun 2023 22:43:57 +0200 Subject: [PATCH] [gdb/python] Fix doc string of valpy_const_value 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. Reviewed-By: Tom Tromey --- 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\ -- 2.30.2