mirror of
https://github.com/python/cpython.git
synced 2025-11-01 18:51:43 +00:00
checkin of Jack's original version
This commit is contained in:
parent
df804f8591
commit
d211220cd2
27 changed files with 1525 additions and 0 deletions
12
Tools/modulator/Templates/module_method
Normal file
12
Tools/modulator/Templates/module_method
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
|
||||
static object *
|
||||
$abbrev$_$method$(self, args)
|
||||
object *self; /* Not used */
|
||||
object *args;
|
||||
{
|
||||
|
||||
if (!newgetargs(args, ""))
|
||||
return NULL;
|
||||
INCREF(None);
|
||||
return None;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue