[binutils-gdb] [gdb/python] Fix whitespace in py-ref.h

Tom de Vries vries@sourceware.org
Thu Jan 29 20:18:56 GMT 2026


https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=49dcedc4472dc8138667141efe57a6043f614f61

commit 49dcedc4472dc8138667141efe57a6043f614f61
Author: Tom de Vries <tdevries@suse.de>
Date:   Thu Jan 29 21:18:52 2026 +0100

    [gdb/python] Fix whitespace in py-ref.h
    
    Fix a whitespace problem pre-commit complains about:
    ...
    check-whitespace........................................................Failed
    - hook id: check-whitespace
    - exit code: 2
    
    gdb/python/py-ref.h:58: indent with spaces.
    +         "The __dict__ for this object.", nullptr },
    ...

Diff:
---
 gdb/python/py-ref.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gdb/python/py-ref.h b/gdb/python/py-ref.h
index 1d07eeb3dc9..4ce7e29357d 100644
--- a/gdb/python/py-ref.h
+++ b/gdb/python/py-ref.h
@@ -55,7 +55,7 @@ template<typename T = PyObject> using gdbpy_ref
      gdb_PyGetSetDef my_object_getset[] =
      {
        { "__dict__", gdb_py_generic_dict_getter, nullptr,
-         "The __dict__ for this object.", nullptr },
+	 "The __dict__ for this object.", nullptr },
        ...
        { nullptr }
      };


More information about the Gdb-cvs mailing list