code: def magenta(cls):
          "Make the text foreground color magenta."
          wAttributes = cls._get_text_attributes()
          wAttributes &= ~win32.FOREGROUND_MASK
          wAttributes |=  win32.FOREGROUND_MAGENTA
          cls._set_text_attributes(wAttributesf magenta(cls):
          "Make the text foreground color magenta."
          wAttributes = cls._get_text_attributes()
          wAttributes &= ~win32.FOREGROUND_MASK
          wAttributes |=  win32.FOREGROUND_MAGENTA
          cls._set_text_attributes(wAttributes)
docs: Make the text foreground color magenta.