diff options
author | Martin v. Löwis <martin@v.loewis.de> | 2002-07-28 11:31:33 (GMT) |
---|---|---|
committer | Martin v. Löwis <martin@v.loewis.de> | 2002-07-28 11:31:33 (GMT) |
commit | fc4c24c142bc86e457fe828c86defd1d7eceed65 (patch) | |
tree | 82aeb9de9a7830de9a380845cbaa223591b67250 /Lib/encodings | |
parent | e567114e472470554adda63ab39ca0850d51fd66 (diff) | |
download | cpython-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__.py | 2 |
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: |