summaryrefslogtreecommitdiffstats
path: root/Objects/typeobject.c
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2001-08-28 18:28:21 (GMT)
committerGuido van Rossum <guido@python.org>2001-08-28 18:28:21 (GMT)
commit5592e4d7d592a0e9156da7d0e4a290d64e982872 (patch)
treec376135461a299a856ee939df9f9acab1430789c /Objects/typeobject.c
parentce129a5e791548dab11c49bb1fe6ec0a1d6bd8b0 (diff)
downloadcpython-5592e4d7d592a0e9156da7d0e4a290d64e982872.zip
cpython-5592e4d7d592a0e9156da7d0e4a290d64e982872.tar.gz
cpython-5592e4d7d592a0e9156da7d0e4a290d64e982872.tar.bz2
Fix a typo in SLOT0 macro for the declaration of cache_str.
Dunno why I didn't catch this before.
Diffstat (limited to 'Objects/typeobject.c')
-rw-r--r--Objects/typeobject.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/typeobject.c b/Objects/typeobject.c
index 476926c..8bae366 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, ""); \
}