diff options
Diffstat (limited to 'Lib/sre_constants.py')
-rw-r--r-- | Lib/sre_constants.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Lib/sre_constants.py b/Lib/sre_constants.py index 0261e9e..1daa7bd 100644 --- a/Lib/sre_constants.py +++ b/Lib/sre_constants.py @@ -32,6 +32,8 @@ class error(Exception): colno: The column corresponding to pos (may be None) """ + __module__ = 're' + def __init__(self, msg, pattern=None, pos=None): self.msg = msg self.pattern = pattern |