diff options
author | Guido van Rossum <guido@python.org> | 1995-03-02 14:05:29 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1995-03-02 14:05:29 (GMT) |
commit | d211220cd2ea4e51f58cd30fb8fa22a1a62b3b2d (patch) | |
tree | 64cc091fbaf5531ea833bdc2cad32f4731617a7e /Tools/modulator/Templates/module_method | |
parent | df804f8591bcb38ffd4a915c76bd6277ce766a5e (diff) | |
download | cpython-d211220cd2ea4e51f58cd30fb8fa22a1a62b3b2d.zip cpython-d211220cd2ea4e51f58cd30fb8fa22a1a62b3b2d.tar.gz cpython-d211220cd2ea4e51f58cd30fb8fa22a1a62b3b2d.tar.bz2 |
checkin of Jack's original version
Diffstat (limited to 'Tools/modulator/Templates/module_method')
-rw-r--r-- | Tools/modulator/Templates/module_method | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/Tools/modulator/Templates/module_method b/Tools/modulator/Templates/module_method new file mode 100644 index 0000000..bf64e79 --- /dev/null +++ b/Tools/modulator/Templates/module_method @@ -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; +} |