[pypy-svn] r48625 - pypy/branch/more-unicode-improvements/pypy/module/_codecs
cfbolz at codespeak.net
cfbolz at codespeak.net
Tue Nov 13 00:19:04 CET 2007
Author: cfbolz
Date: Tue Nov 13 00:19:03 2007
New Revision: 48625
Modified:
pypy/branch/more-unicode-improvements/pypy/module/_codecs/interp_codecs.py
Log:
typo
Modified: pypy/branch/more-unicode-improvements/pypy/module/_codecs/interp_codecs.py
==============================================================================
--- pypy/branch/more-unicode-improvements/pypy/module/_codecs/interp_codecs.py (original)
+++ pypy/branch/more-unicode-improvements/pypy/module/_codecs/interp_codecs.py Tue Nov 13 00:19:03 2007
@@ -163,7 +163,7 @@
able to handle ValueErrors.
"""
if encoding is None:
- encoding = sys.getdefaultencoding()
+ encoding = space.sys.defaultencoding
w_decoder = space.getitem(lookup_codec(space, encoding), space.wrap(1))
if space.is_true(w_decoder):
w_res = space.call_function(w_decoder, w_obj, space.wrap(errors))
More information about the Pypy-commit
mailing list