Fix the exclusion of "config" in the methods copied from Pack to also

exclude "configure".
This commit is contained in:
Guido van Rossum 1997-12-05 17:05:04 +00:00
parent c37eb56f96
commit 7f9732880e
1 changed files with 1 additions and 1 deletions

View File

@ -33,5 +33,5 @@ class ScrolledText(Text):
# Copy Pack methods of self.frame -- hack! # Copy Pack methods of self.frame -- hack!
for m in Pack.__dict__.keys(): for m in Pack.__dict__.keys():
if m[0] != '_' and m != 'config': if m[0] != '_' and m != 'config' and m != 'configure':
setattr(self, m, getattr(self.frame, m)) setattr(self, m, getattr(self.frame, m))