summaryrefslogtreecommitdiffstats
path: root/Lib/gettext.py
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2017-03-27 14:05:26 (GMT)
committerGitHub <noreply@github.com>2017-03-27 14:05:26 (GMT)
commitd6debb24e06152a827769b0cac24c47deccdeac1 (patch)
treef26655d4333391e344dac8cbf6cf2dc08c18b8b4 /Lib/gettext.py
parent604e74c6beb2585c81083fa85f0e5a4d46965cbc (diff)
downloadcpython-d6debb24e06152a827769b0cac24c47deccdeac1.zip
cpython-d6debb24e06152a827769b0cac24c47deccdeac1.tar.gz
cpython-d6debb24e06152a827769b0cac24c47deccdeac1.tar.bz2
bpo-29919: Remove unused imports found by pyflakes (#137)
Make also minor PEP8 coding style fixes on modified imports.
Diffstat (limited to 'Lib/gettext.py')
-rw-r--r--Lib/gettext.py7
1 files changed, 6 insertions, 1 deletions
diff --git a/Lib/gettext.py b/Lib/gettext.py
index aa1d555..08d051b 100644
--- a/Lib/gettext.py
+++ b/Lib/gettext.py
@@ -46,7 +46,12 @@ internationalized, to the local language and cultural habits.
# find this format documented anywhere.
-import locale, copy, io, os, re, struct, sys
+import copy
+import locale
+import os
+import re
+import struct
+import sys
from errno import ENOENT