From: Guido van Rossum Date: Tue, 28 Aug 2001 18:28:21 +0000 (+0000) Subject: Fix a typo in SLOT0 macro for the declaration of cache_str. X-Git-Tag: v2.2a3~272 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=5592e4d7d592a0e9156da7d0e4a290d64e982872;p=thirdparty%2FPython%2Fcpython.git Fix a typo in SLOT0 macro for the declaration of cache_str. Dunno why I didn't catch this before. --- diff --git a/Objects/typeobject.c b/Objects/typeobject.c index 476926c254e6..8bae36671952 100644 --- a/Objects/typeobject.c +++ b/Objects/typeobject.c @@ -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, ""); \ }