Author: Philip Jenvey <[email protected]>
Branch: py3k
Changeset: r58120:d52e58eeee9a
Date: 2012-10-15 12:01 -0700
http://bitbucket.org/pypy/pypy/changeset/d52e58eeee9a/
Log: fix None default
diff --git a/pypy/module/_socket/interp_socket.py
b/pypy/module/_socket/interp_socket.py
--- a/pypy/module/_socket/interp_socket.py
+++ b/pypy/module/_socket/interp_socket.py
@@ -20,7 +20,8 @@
sock = space.allocate_instance(W_RSocket, w_subtype)
return space.wrap(sock)
- @unwrap_spec(family=int, type=int, proto=int)
+ @unwrap_spec(family=int, type=int, proto=int,
+ w_fileno=WrappedDefault(None))
def descr_init(self, space, family=AF_INET, type=SOCK_STREAM, proto=0,
w_fileno=None):
try:
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit