Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Doc/library/curses.rst
Original file line number Diff line number Diff line change
Expand Up @@ -759,7 +759,7 @@ Window Objects

.. 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.


Expand Down
4 changes: 2 additions & 2 deletions Modules/_cursesmodule.c
Original file line number Diff line number Diff line change
Expand Up @@ -997,12 +997,12 @@ _curses.window.attron
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");
}
Expand Down
4 changes: 2 additions & 2 deletions Modules/clinic/_cursesmodule.c.h

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading