This module provides a collection of utilities for working with pretty-printers.
enumvalues. Unlike gdb's built-in
enumprinting, this printer attempts to work properly when there is some overlap between the enumeration constants. name is the name of the printer and also the name of the
enumtype to look up.
Truethen any existing copy of the printer is replaced. Otherwise a
RuntimeErrorexception is raised if a printer with the same name already exists.