diff options
author | Jeremy Hylton <jeremy@alum.mit.edu> | 2001-10-10 03:33:24 (GMT) |
---|---|---|
committer | Jeremy Hylton <jeremy@alum.mit.edu> | 2001-10-10 03:33:24 (GMT) |
commit | ab0064574b0bf8ae8b249d499d8521414cc584e1 (patch) | |
tree | 800950524a4e02a9c3214bb75a9b8e3b58e9ca08 /Modules | |
parent | f86d63e4f04f368450f5a4e9dd3dd6c282c43bf1 (diff) | |
download | cpython-ab0064574b0bf8ae8b249d499d8521414cc584e1.zip cpython-ab0064574b0bf8ae8b249d499d8521414cc584e1.tar.gz cpython-ab0064574b0bf8ae8b249d499d8521414cc584e1.tar.bz2 |
A bit of reformatting to match the standard style
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/socketmodule.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/Modules/socketmodule.c b/Modules/socketmodule.c index 8db6aeb..6e8cd0d 100644 --- a/Modules/socketmodule.c +++ b/Modules/socketmodule.c @@ -2579,11 +2579,11 @@ PySocket_ssl(PyObject *self, PyObject *args) if (!PyArg_ParseTuple(args, "O!zz:ssl", &PySocketSock_Type, (PyObject*)&Sock, - &key_file, &cert_file) ) + &key_file, &cert_file)) return NULL; rv = newSSLObject(Sock, key_file, cert_file); - if ( rv == NULL ) + if (rv == NULL) return NULL; return (PyObject *)rv; } @@ -2607,11 +2607,11 @@ SSL_issuer(SSLObject *self, PyObject *args) /* SSL object methods */ static PyMethodDef SSLMethods[] = { - { "write", (PyCFunction)SSL_SSLwrite, 1 }, - { "read", (PyCFunction)SSL_SSLread, 1 }, - { "server", (PyCFunction)SSL_server, 1 }, - { "issuer", (PyCFunction)SSL_issuer, 1 }, - { NULL, NULL} + {"write", (PyCFunction)SSL_SSLwrite, 1}, + {"read", (PyCFunction)SSL_SSLread, 1}, + {"server", (PyCFunction)SSL_server, 1}, + {"issuer", (PyCFunction)SSL_issuer, 1}, + {NULL, NULL} }; static void SSL_dealloc(SSLObject *self) |