summaryrefslogtreecommitdiffstats
path: root/Lib/codecs.py
diff options
context:
space:
mode:
authorMartin v. Löwis <martin@v.loewis.de>2001-07-31 08:54:55 (GMT)
committerMartin v. Löwis <martin@v.loewis.de>2001-07-31 08:54:55 (GMT)
commit6cd441d129ca9b3ba4d13af5494303edbcd02b22 (patch)
tree593aa83b72266dbc6e6f894a377fe84c56b282f4 /Lib/codecs.py
parentbbe500e5d360ff9cf0615eb1d369b2f63a1700e2 (diff)
downloadcpython-6cd441d129ca9b3ba4d13af5494303edbcd02b22.zip
cpython-6cd441d129ca9b3ba4d13af5494303edbcd02b22.tar.gz
cpython-6cd441d129ca9b3ba4d13af5494303edbcd02b22.tar.bz2
Add dead imports of modules that are "magically" imported.
Diffstat (limited to 'Lib/codecs.py')
-rw-r--r--Lib/codecs.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/Lib/codecs.py b/Lib/codecs.py
index b3c2f71..ebcec1c 100644
--- a/Lib/codecs.py
+++ b/Lib/codecs.py
@@ -575,6 +575,12 @@ def make_encoding_map(decoding_map):
m[v] = None
return m
+# Tell modulefinder that using codecs probably needs the encodings
+# package
+_false = 0
+if _false:
+ import encodings
+
### Tests
if __name__ == '__main__':