.. method:: window.attron(attr)
- Add attribute *attr* from the "background" set applied to all writes to the
+ Add attribute *attr* to the "background" set applied to all writes to the
current window.
attr: long
/
-Add attribute attr from the "background" set.
+Add attribute attr to the "background" set.
[clinic start generated code]*/
static PyObject *
_curses_window_attron_impl(PyCursesWindowObject *self, long attr)
-/*[clinic end generated code: output=7afea43b237fa870 input=5a88fba7b1524f32]*/
+/*[clinic end generated code: output=7afea43b237fa870 input=b57f824e1bf58326]*/
{
return PyCursesCheckERR(wattron(self->win, (attr_t)attr), "attron");
}
"attron($self, attr, /)\n"
"--\n"
"\n"
-"Add attribute attr from the \"background\" set.");
+"Add attribute attr to the \"background\" set.");
#define _CURSES_WINDOW_ATTRON_METHODDEF \
{"attron", (PyCFunction)_curses_window_attron, METH_O, _curses_window_attron__doc__},
#ifndef _CURSES_USE_DEFAULT_COLORS_METHODDEF
#define _CURSES_USE_DEFAULT_COLORS_METHODDEF
#endif /* !defined(_CURSES_USE_DEFAULT_COLORS_METHODDEF) */
-/*[clinic end generated code: output=39a35d730a47ea72 input=a9049054013a1b77]*/
+/*[clinic end generated code: output=265cd9f5affbad5e input=a9049054013a1b77]*/