summaryrefslogtreecommitdiffstats
path: root/Objects/cobject.c
diff options
context:
space:
mode:
Diffstat (limited to 'Objects/cobject.c')
-rw-r--r--Objects/cobject.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Objects/cobject.c b/Objects/cobject.c
index 49b7bc9..6b757d5 100644
--- a/Objects/cobject.c
+++ b/Objects/cobject.c
@@ -82,9 +82,9 @@ PyCObject_Import(module_name, name)
PyObject *m, *c;
void *r=NULL;
- if(m=PyImport_ImportModule(module_name))
+ if((m=PyImport_ImportModule(module_name)))
{
- if(c=PyObject_GetAttrString(m,name))
+ if((c=PyObject_GetAttrString(m,name)))
{
r=PyCObject_AsVoidPtr(c);
Py_DECREF(c);