[pypy-svn] r61011 - pypy/trunk/pypy/module/_socket

fijal at codespeak.net fijal at codespeak.net
Thu Jan 15 17:28:37 CET 2009


Author: fijal
Date: Thu Jan 15 17:28:36 2009
New Revision: 61011

Modified:
   pypy/trunk/pypy/module/_socket/interp_socket.py
Log:
export type as attribute


Modified: pypy/trunk/pypy/module/_socket/interp_socket.py
==============================================================================
--- pypy/trunk/pypy/module/_socket/interp_socket.py	(original)
+++ pypy/trunk/pypy/module/_socket/interp_socket.py	Thu Jan 15 17:28:36 2009
@@ -473,6 +473,7 @@
  [*] not available on all platforms!""",
     __new__ = descr_socket_new,
     __weakref__ = make_weakref_descr(W_RSocket),
+    type = interp_attrproperty('type', W_RSocket),
     family = interp_attrproperty('family', W_RSocket),
     ** socketmethods
     )



More information about the Pypy-commit mailing list