diff options
author | Raymond Hettinger <python@rcn.com> | 2002-06-01 01:29:16 (GMT) |
---|---|---|
committer | Raymond Hettinger <python@rcn.com> | 2002-06-01 01:29:16 (GMT) |
commit | 094662a16542d1cc56713b35dde39089490dec35 (patch) | |
tree | eb433a4bebe8dc9eb28de9f7655f8fab24498a52 /Lib/gettext.py | |
parent | 0f4940c0a8d2ac66ccf90fb12739967915043406 (diff) | |
download | cpython-094662a16542d1cc56713b35dde39089490dec35.zip cpython-094662a16542d1cc56713b35dde39089490dec35.tar.gz cpython-094662a16542d1cc56713b35dde39089490dec35.tar.bz2 |
Replace boolean test with is None
Diffstat (limited to 'Lib/gettext.py')
-rw-r--r-- | Lib/gettext.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/gettext.py b/Lib/gettext.py index 0bea9ed..253b6d8 100644 --- a/Lib/gettext.py +++ b/Lib/gettext.py @@ -104,7 +104,7 @@ class NullTranslations: self._info = {} self._charset = None self._fallback = None - if fp: + if fp is not None: self._parse(fp) def _parse(self, fp): |