summaryrefslogtreecommitdiffstats
path: root/Lib/encodings
diff options
context:
space:
mode:
authorMartin v. Löwis <martin@v.loewis.de>2002-07-28 11:31:33 (GMT)
committerMartin v. Löwis <martin@v.loewis.de>2002-07-28 11:31:33 (GMT)
commitfc4c24c142bc86e457fe828c86defd1d7eceed65 (patch)
tree82aeb9de9a7830de9a380845cbaa223591b67250 /Lib/encodings
parente567114e472470554adda63ab39ca0850d51fd66 (diff)
downloadcpython-fc4c24c142bc86e457fe828c86defd1d7eceed65.zip
cpython-fc4c24c142bc86e457fe828c86defd1d7eceed65.tar.gz
cpython-fc4c24c142bc86e457fe828c86defd1d7eceed65.tar.bz2
Patch #571603: Refer to encodings package explicitly.
Diffstat (limited to 'Lib/encodings')
-rw-r--r--Lib/encodings/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/encodings/__init__.py b/Lib/encodings/__init__.py
index 827db35..ca59721 100644
--- a/Lib/encodings/__init__.py
+++ b/Lib/encodings/__init__.py
@@ -59,7 +59,7 @@ def search_function(encoding):
import aliases
modname = aliases.aliases.get(modname, modname)
try:
- mod = __import__(modname, globals(), locals(), _import_tail)
+ mod = __import__('encodings.' + modname, globals(), locals(), _import_tail)
except ImportError,why:
mod = None
if mod is None: