summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2005-07-17 21:19:44 (GMT)
committerGeorg Brandl <georg@python.org>2005-07-17 21:19:44 (GMT)
commitb454ea90c9c2c214fe90e07ec507ca4e9062db1b (patch)
treee2c7a8c2fe5160d4095feaf42335ae3bb8388cfc /Doc
parent9e9452fda01c281dda609895e370cc97b4cdb046 (diff)
downloadcpython-b454ea90c9c2c214fe90e07ec507ca4e9062db1b.zip
cpython-b454ea90c9c2c214fe90e07ec507ca4e9062db1b.tar.gz
cpython-b454ea90c9c2c214fe90e07ec507ca4e9062db1b.tar.bz2
backport bug [ 1021621 ] use first_name, not first, in code samples
Diffstat (limited to 'Doc')
-rw-r--r--Doc/ext/noddy2.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/ext/noddy2.c b/Doc/ext/noddy2.c
index 2683e8b..2caf985 100644
--- a/Doc/ext/noddy2.c
+++ b/Doc/ext/noddy2.c
@@ -3,8 +3,8 @@
typedef struct {
PyObject_HEAD
- PyObject *first;
- PyObject *last;
+ PyObject *first; /* first name */
+ PyObject *last; /* last name */
int number;
} Noddy;