summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2003-12-04 22:17:49 (GMT)
committerRaymond Hettinger <python@rcn.com>2003-12-04 22:17:49 (GMT)
commitbd3a240e6dc1f705e52d222ff89a5d57a2b8b8f5 (patch)
tree77cd52c4991d341a7f7f2eb5e9541516fbaace95
parent7425c3876bbd7f2a1e88604f3ba6c9bfa749e94b (diff)
downloadcpython-bd3a240e6dc1f705e52d222ff89a5d57a2b8b8f5.zip
cpython-bd3a240e6dc1f705e52d222ff89a5d57a2b8b8f5.tar.gz
cpython-bd3a240e6dc1f705e52d222ff89a5d57a2b8b8f5.tar.bz2
Fix typos.
-rw-r--r--Modules/operator.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Modules/operator.c b/Modules/operator.c
index d8e2a54..468440e 100644
--- a/Modules/operator.c
+++ b/Modules/operator.c
@@ -317,7 +317,7 @@ After, f=itemgetter(2), the call f(b) returns b[2].");
static PyTypeObject itemgetter_type = {
PyObject_HEAD_INIT(NULL)
0, /* ob_size */
- "itertools.itemgetter", /* tp_name */
+ "operator.itemgetter", /* tp_name */
sizeof(itemgetterobject), /* tp_basicsize */
0, /* tp_itemsize */
/* methods */
@@ -424,7 +424,7 @@ After, f=attrgetter('name'), the call f(b) returns b.name.");
static PyTypeObject attrgetter_type = {
PyObject_HEAD_INIT(NULL)
0, /* ob_size */
- "itertools.attrgetter", /* tp_name */
+ "operator.attrgetter", /* tp_name */
sizeof(attrgetterobject), /* tp_basicsize */
0, /* tp_itemsize */
/* methods */