Commit 91ba64dd authored by Guido van Rossum's avatar Guido van Rossum

socket_type -> SocketType

parent 24995b99
......@@ -1404,9 +1404,9 @@ initsocket()
Py_FatalError("can't define socket.error");
PySocketSock_Type.ob_type = &PyType_Type;
Py_INCREF(&PySocketSock_Type);
if (PyDict_SetItemString(d, "socket_type",
if (PyDict_SetItemString(d, "SocketType",
(PyObject *)&PySocketSock_Type) != 0)
Py_FatalError("can't define socket.socket_type");
Py_FatalError("can't define socket.SocketType");
insint(d, "AF_INET", AF_INET);
#ifdef AF_UNIX
insint(d, "AF_UNIX", AF_UNIX);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment