diff options
Diffstat (limited to 'Lib/idlelib/GrepDialog.py')
| -rw-r--r-- | Lib/idlelib/GrepDialog.py | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/idlelib/GrepDialog.py b/Lib/idlelib/GrepDialog.py index 1450f7a24e..1d8d51b593 100644 --- a/Lib/idlelib/GrepDialog.py +++ b/Lib/idlelib/GrepDialog.py @@ -82,7 +82,7 @@ class GrepDialog(SearchDialogBase):          for fn in list:              try:                  f = open(fn, errors='replace') -            except IOError as msg: +            except OSError as msg:                  print(msg)                  continue              lineno = 0  | 
