summaryrefslogtreecommitdiffstats
path: root/Modules/socketmodule.c
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1997-06-02 22:18:09 (GMT)
committerGuido van Rossum <guido@python.org>1997-06-02 22:18:09 (GMT)
commit91ba64ddd9d4835f1c48fbfabd8d1c24e2c777f2 (patch)
treecdd235786857734c49e70e4071f746871f2f2004 /Modules/socketmodule.c
parent24995b99e1131cfb747e535a69440e56e6b7393f (diff)
downloadcpython-91ba64ddd9d4835f1c48fbfabd8d1c24e2c777f2.zip
cpython-91ba64ddd9d4835f1c48fbfabd8d1c24e2c777f2.tar.gz
cpython-91ba64ddd9d4835f1c48fbfabd8d1c24e2c777f2.tar.bz2
socket_type -> SocketType
Diffstat (limited to 'Modules/socketmodule.c')
-rw-r--r--Modules/socketmodule.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Modules/socketmodule.c b/Modules/socketmodule.c
index 78c0d89..48ce55a 100644
--- a/Modules/socketmodule.c
+++ b/Modules/socketmodule.c
@@ -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);