File tree Expand file tree Collapse file tree 4 files changed +11
-0
lines changed Expand file tree Collapse file tree 4 files changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -1282,6 +1282,8 @@ Several constants are available to specify character cell attributes:
1282
1282
+------------------+-------------------------------+
1283
1283
| ``A_BOLD `` | Bold mode. |
1284
1284
+------------------+-------------------------------+
1285
+ | ``A_ITALIC `` | Italic mode. |
1286
+ +------------------+-------------------------------+
1285
1287
| ``A_DIM `` | Dim mode. |
1286
1288
+------------------+-------------------------------+
1287
1289
| ``A_NORMAL `` | Normal attribute. |
@@ -1294,6 +1296,9 @@ Several constants are available to specify character cell attributes:
1294
1296
| ``A_UNDERLINE `` | Underline mode. |
1295
1297
+------------------+-------------------------------+
1296
1298
1299
+ .. versionadded :: 3.7
1300
+ ``A_ITALIC `` was added.
1301
+
1297
1302
Keys are referred to by integer constants with names starting with ``KEY_ ``.
1298
1303
The exact keycaps available are system dependent.
1299
1304
Original file line number Diff line number Diff line change @@ -1116,6 +1116,7 @@ Koray Oner
1116
1116
Piet van Oostrum
1117
1117
Tomas Oppelstrup
1118
1118
Jason Orendorff
1119
+ Bastien Orivel
1119
1120
Douglas Orr
1120
1121
William Orr
1121
1122
Michele Orrù
Original file line number Diff line number Diff line change @@ -317,6 +317,8 @@ Extension Modules
317
317
Library
318
318
-------
319
319
320
+ - bpo-30101: Add support for curses.A_ITALIC.
321
+
320
322
- bpo-29822: inspect.isabstract() now works during __init_subclass__. Patch
321
323
by Nate Soares.
322
324
Original file line number Diff line number Diff line change @@ -3335,6 +3335,9 @@ PyInit__curses(void)
3335
3335
SetDictInt ("A_BLINK" , A_BLINK );
3336
3336
SetDictInt ("A_DIM" , A_DIM );
3337
3337
SetDictInt ("A_BOLD" , A_BOLD );
3338
+ #ifdef A_ITALIC
3339
+ SetDictInt ("A_ITALIC" , A_ITALIC );
3340
+ #endif
3338
3341
SetDictInt ("A_ALTCHARSET" , A_ALTCHARSET );
3339
3342
#if !defined(__NetBSD__ )
3340
3343
SetDictInt ("A_INVIS" , A_INVIS );
You can’t perform that action at this time.
0 commit comments