Issue #22437: Number of capturing groups in regular expression is no longer
limited by 100.
diff --git a/Lib/sre_constants.py b/Lib/sre_constants.py
index 23e3516..8815d1d 100644
--- a/Lib/sre_constants.py
+++ b/Lib/sre_constants.py
@@ -15,7 +15,7 @@
 
 MAGIC = 20031017
 
-from _sre import MAXREPEAT
+from _sre import MAXREPEAT, MAXGROUPS
 
 # SRE standard exception (access as sre.error)
 # should this really be here?