summaryrefslogtreecommitdiffstats
path: root/Tools/modulator/Templates/object_tp_setattr
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1995-03-02 14:05:29 (GMT)
committerGuido van Rossum <guido@python.org>1995-03-02 14:05:29 (GMT)
commitd211220cd2ea4e51f58cd30fb8fa22a1a62b3b2d (patch)
tree64cc091fbaf5531ea833bdc2cad32f4731617a7e /Tools/modulator/Templates/object_tp_setattr
parentdf804f8591bcb38ffd4a915c76bd6277ce766a5e (diff)
downloadcpython-d211220cd2ea4e51f58cd30fb8fa22a1a62b3b2d.zip
cpython-d211220cd2ea4e51f58cd30fb8fa22a1a62b3b2d.tar.gz
cpython-d211220cd2ea4e51f58cd30fb8fa22a1a62b3b2d.tar.bz2
checkin of Jack's original version
Diffstat (limited to 'Tools/modulator/Templates/object_tp_setattr')
-rw-r--r--Tools/modulator/Templates/object_tp_setattr10
1 files changed, 10 insertions, 0 deletions
diff --git a/Tools/modulator/Templates/object_tp_setattr b/Tools/modulator/Templates/object_tp_setattr
new file mode 100644
index 0000000..d4da0ce
--- /dev/null
+++ b/Tools/modulator/Templates/object_tp_setattr
@@ -0,0 +1,10 @@
+
+static int
+$abbrev$_setattr(self, name, v)
+ $abbrev$object *self;
+ char *name;
+ object *v;
+{
+ /* XXXX Add your own setattr code here */
+ return -1;
+}