diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2016-04-06 06:51:18 (GMT) |
---|---|---|
committer | Serhiy Storchaka <storchaka@gmail.com> | 2016-04-06 06:51:18 (GMT) |
commit | bc62af1bbe118aa678cb6fa4ecad40f7250b56de (patch) | |
tree | 785d2ad869c2c1d058bbfdc6e9af7fb7278b9d73 /Modules/_ssl.c | |
parent | aad86a6015f8d4e1e4faea07e1400152f5843443 (diff) | |
download | cpython-bc62af1bbe118aa678cb6fa4ecad40f7250b56de.zip cpython-bc62af1bbe118aa678cb6fa4ecad40f7250b56de.tar.gz cpython-bc62af1bbe118aa678cb6fa4ecad40f7250b56de.tar.bz2 |
Issue #22570: Renamed Py_SETREF to Py_XSETREF.
Diffstat (limited to 'Modules/_ssl.c')
-rw-r--r-- | Modules/_ssl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/_ssl.c b/Modules/_ssl.c index 23d4d5c..a44414b 100644 --- a/Modules/_ssl.c +++ b/Modules/_ssl.c @@ -1467,7 +1467,7 @@ static int PySSL_set_context(PySSLSocket *self, PyObject *value, return -1; #else Py_INCREF(value); - Py_SETREF(self->ctx, (PySSLContext *)value); + Py_XSETREF(self->ctx, (PySSLContext *)value); SSL_set_SSL_CTX(self->ssl, self->ctx->ctx); #endif } else { |