[pypy-svn] r20419 - pypy/dist/pypy/module/_socket

ac at codespeak.net ac at codespeak.net
Wed Nov 30 11:22:55 CET 2005


Author: ac
Date: Wed Nov 30 11:22:55 2005
New Revision: 20419

Modified:
   pypy/dist/pypy/module/_socket/__init__.py
Log:
Fix typo.

Modified: pypy/dist/pypy/module/_socket/__init__.py
==============================================================================
--- pypy/dist/pypy/module/_socket/__init__.py	(original)
+++ pypy/dist/pypy/module/_socket/__init__.py	Wed Nov 30 11:22:55 2005
@@ -31,6 +31,6 @@
 for constant in dir(_socket):
     value = getattr(_socket, constant)
     if constant.isupper() and type(value) in (int, str):
-        Module.interpleveldefs[constant] = "space.wrap(%s)" % value
+        Module.interpleveldefs[constant] = "space.wrap(%r)" % value
 
 Module.interpleveldefs['has_ipv6'] = "space.wrap(%s)" % _socket.has_ipv6



More information about the Pypy-commit mailing list