diff options
author | Christoph Sarnowski <pixelbrei@gmail.com> | 2017-10-23 17:10:48 (GMT) |
---|---|---|
committer | Berker Peksag <berker.peksag@gmail.com> | 2017-10-23 17:10:48 (GMT) |
commit | 62adc55aff0b78447568f73bd1abc610d2784bf8 (patch) | |
tree | 7b54077e30885c67e78cbe7006f749e5c6496b39 /Tools | |
parent | 66caacf2f0d6213b049a3097556e28e30440b900 (diff) | |
download | cpython-62adc55aff0b78447568f73bd1abc610d2784bf8.zip cpython-62adc55aff0b78447568f73bd1abc610d2784bf8.tar.gz cpython-62adc55aff0b78447568f73bd1abc610d2784bf8.tar.bz2 |
bpo-30722: Make redemo work with Python 3.6+ (GH-2311)
Diffstat (limited to 'Tools')
-rwxr-xr-x | Tools/demo/redemo.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Tools/demo/redemo.py b/Tools/demo/redemo.py index 8335d4c..256a63e 100755 --- a/Tools/demo/redemo.py +++ b/Tools/demo/redemo.py @@ -75,7 +75,6 @@ class ReDemo: self.boxes = [] self.vars = [] for name in ('IGNORECASE', - 'LOCALE', 'MULTILINE', 'DOTALL', 'VERBOSE'): @@ -83,7 +82,7 @@ class ReDemo: frame = Frame(self.master) frame.pack(fill=X) self.frames.append(frame) - val = getattr(re, name) + val = getattr(re, name).value var = IntVar() box = Checkbutton(frame, variable=var, text=name, |