def bold(text): """ Formats text as bold """ return PrettyPrinter._format(PrettyPrinter.Colors.BOLD, text)