bpo-30101: Add support for curses.A_ITALIC. (#1015)

diff --git a/Modules/_cursesmodule.c b/Modules/_cursesmodule.c
index 8f0a12b..f278268 100644
--- a/Modules/_cursesmodule.c
+++ b/Modules/_cursesmodule.c
@@ -3335,6 +3335,9 @@
     SetDictInt("A_BLINK",               A_BLINK);
     SetDictInt("A_DIM",                 A_DIM);
     SetDictInt("A_BOLD",                A_BOLD);
+#ifdef A_ITALIC
+    SetDictInt("A_ITALIC",              A_ITALIC);
+#endif
     SetDictInt("A_ALTCHARSET",          A_ALTCHARSET);
 #if !defined(__NetBSD__)
     SetDictInt("A_INVIS",           A_INVIS);