Mercurial > cpython-lru_cache-weakref
annotate Tools/modulator/Templates/module_method @ 54294:dba767bc3155 legacy-trunk
remove mention of old ctypes version
| author | Benjamin Peterson <benjamin@python.org> |
|---|---|
| date | Sat, 23 May 2009 20:59:09 +0000 |
| parents | 847425d5bca8 |
| children |
| rev | line source |
|---|---|
|
2754
a1087aa641cd
Jim Fulton's change to support doc strings
Jack Jansen <jack.jansen@cwi.nl>
parents:
2713
diff
changeset
|
1 |
|
a1087aa641cd
Jim Fulton's change to support doc strings
Jack Jansen <jack.jansen@cwi.nl>
parents:
2713
diff
changeset
|
2 static char $abbrev$_$method$__doc__[] = |
|
a1087aa641cd
Jim Fulton's change to support doc strings
Jack Jansen <jack.jansen@cwi.nl>
parents:
2713
diff
changeset
|
3 "" |
|
a1087aa641cd
Jim Fulton's change to support doc strings
Jack Jansen <jack.jansen@cwi.nl>
parents:
2713
diff
changeset
|
4 ; |
|
2466
322fc596f1c4
checkin of Jack's original version
Guido van Rossum <guido@python.org>
parents:
diff
changeset
|
5 |
|
2713
cd9d86ecc175
Templates converted to new naming conventions (thanks to Chak Tan)
Jack Jansen <jack.jansen@cwi.nl>
parents:
2466
diff
changeset
|
6 static PyObject * |
|
21561
847425d5bca8
Patches by Jens B. Jorgensen with small mods by me:
Jack Jansen <jack.jansen@cwi.nl>
parents:
2754
diff
changeset
|
7 $abbrev$_$method$(PyObject *self /* Not used */, PyObject *args) |
|
2466
322fc596f1c4
checkin of Jack's original version
Guido van Rossum <guido@python.org>
parents:
diff
changeset
|
8 { |
|
322fc596f1c4
checkin of Jack's original version
Guido van Rossum <guido@python.org>
parents:
diff
changeset
|
9 |
|
2713
cd9d86ecc175
Templates converted to new naming conventions (thanks to Chak Tan)
Jack Jansen <jack.jansen@cwi.nl>
parents:
2466
diff
changeset
|
10 if (!PyArg_ParseTuple(args, "")) |
|
2466
322fc596f1c4
checkin of Jack's original version
Guido van Rossum <guido@python.org>
parents:
diff
changeset
|
11 return NULL; |
|
2713
cd9d86ecc175
Templates converted to new naming conventions (thanks to Chak Tan)
Jack Jansen <jack.jansen@cwi.nl>
parents:
2466
diff
changeset
|
12 Py_INCREF(Py_None); |
|
cd9d86ecc175
Templates converted to new naming conventions (thanks to Chak Tan)
Jack Jansen <jack.jansen@cwi.nl>
parents:
2466
diff
changeset
|
13 return Py_None; |
|
2466
322fc596f1c4
checkin of Jack's original version
Guido van Rossum <guido@python.org>
parents:
diff
changeset
|
14 } |
