]> granicus.if.org Git - python/commitdiff
Fix a typo in SLOT0 macro for the declaration of cache_str.
authorGuido van Rossum <guido@python.org>
Tue, 28 Aug 2001 18:28:21 +0000 (18:28 +0000)
committerGuido van Rossum <guido@python.org>
Tue, 28 Aug 2001 18:28:21 +0000 (18:28 +0000)
Dunno why I didn't catch this before.

Objects/typeobject.c

index 476926c254e67d354704b015fa53a506511c18d3..8bae366719529a59622b57d21e8938da048e9b90 100644 (file)
@@ -2390,7 +2390,7 @@ add_operators(PyTypeObject *type)
 static PyObject * \
 FUNCNAME(PyObject *self) \
 { \
-       static PyObject cache_str; \
+       static PyObject *cache_str; \
        return call_method(self, OPSTR, &cache_str, ""); \
 }