diff options
Diffstat (limited to 'Lib/optparse.py')
-rw-r--r-- | Lib/optparse.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/optparse.py b/Lib/optparse.py index 37764d3..3812258 100644 --- a/Lib/optparse.py +++ b/Lib/optparse.py @@ -87,7 +87,7 @@ def _repr(self): try: from gettext import gettext, ngettext -except ImportError: +except ModuleNotFoundError: def gettext(message): return message |