File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1282,6 +1282,8 @@ Several constants are available to specify character cell attributes:
12821282+------------------+-------------------------------+
12831283| ``A_BOLD `` | Bold mode. |
12841284+------------------+-------------------------------+
1285+ | ``A_ITALIC `` | Italic mode. |
1286+ +------------------+-------------------------------+
12851287| ``A_DIM `` | Dim mode. |
12861288+------------------+-------------------------------+
12871289| ``A_NORMAL `` | Normal attribute. |
@@ -1294,6 +1296,9 @@ Several constants are available to specify character cell attributes:
12941296| ``A_UNDERLINE `` | Underline mode. |
12951297+------------------+-------------------------------+
12961298
1299+ .. versionadded :: 3.7
1300+ ``A_ITALIC `` was added.
1301+
12971302Keys are referred to by integer constants with names starting with ``KEY_ ``.
12981303The exact keycaps available are system dependent.
12991304
Original file line number Diff line number Diff line change @@ -1116,6 +1116,7 @@ Koray Oner
11161116Piet van Oostrum
11171117Tomas Oppelstrup
11181118Jason Orendorff
1119+ Bastien Orivel
11191120Douglas Orr
11201121William Orr
11211122Michele Orrù
Original file line number Diff line number Diff line change @@ -317,6 +317,8 @@ Extension Modules
317317Library
318318-------
319319
320+ - bpo-30101: Add support for curses.A_ITALIC.
321+
320322- bpo-29822: inspect.isabstract() now works during __init_subclass__. Patch
321323 by Nate Soares.
322324
Original file line number Diff line number Diff line change @@ -3335,6 +3335,9 @@ PyInit__curses(void)
33353335 SetDictInt ("A_BLINK" , A_BLINK );
33363336 SetDictInt ("A_DIM" , A_DIM );
33373337 SetDictInt ("A_BOLD" , A_BOLD );
3338+ #ifdef A_ITALIC
3339+ SetDictInt ("A_ITALIC" , A_ITALIC );
3340+ #endif
33383341 SetDictInt ("A_ALTCHARSET" , A_ALTCHARSET );
33393342#if !defined(__NetBSD__ )
33403343 SetDictInt ("A_INVIS" , A_INVIS );
You can’t perform that action at this time.
0 commit comments