Small cleanup of GDB pretty printer code
What does this implement/fix?
Small cleanup of pretty printer code for the GNU Debugger (GDB):
- Rename variable
typeto avoid conflict with Python functiontype(). - Remove import of module that is no longer needed.
- Use
+=for better readability. - Improve formatting.