summaryrefslogtreecommitdiffstats
path: root/Tools/modulator/Templates/object_new
diff options
context:
space:
mode:
authorJack Jansen <jack.jansen@cwi.nl>1995-05-16 13:47:03 (GMT)
committerJack Jansen <jack.jansen@cwi.nl>1995-05-16 13:47:03 (GMT)
commitebed75116fcd1ebc4737c4ba77b9b74c8b032742 (patch)
treeee10da97ba30b2d0740ce01eef71aa8d74c1b19e /Tools/modulator/Templates/object_new
parent52e02998ef9d0c5643cf037f2db3cc5cf7c8c451 (diff)
downloadcpython-ebed75116fcd1ebc4737c4ba77b9b74c8b032742.zip
cpython-ebed75116fcd1ebc4737c4ba77b9b74c8b032742.tar.gz
cpython-ebed75116fcd1ebc4737c4ba77b9b74c8b032742.tar.bz2
Templates converted to new naming conventions (thanks to Chak Tan)
Diffstat (limited to 'Tools/modulator/Templates/object_new')
-rw-r--r--Tools/modulator/Templates/object_new3
1 files changed, 2 insertions, 1 deletions
diff --git a/Tools/modulator/Templates/object_new b/Tools/modulator/Templates/object_new
index 1817a55..30c5e36 100644
--- a/Tools/modulator/Templates/object_new
+++ b/Tools/modulator/Templates/object_new
@@ -4,9 +4,10 @@ new$abbrev$object()
{
$abbrev$object *self;
- self = NEWOBJ($abbrev$object, &$Abbrev$type);
+ self = PyObject_NEW($abbrev$object, &$Abbrev$type);
if (self == NULL)
return NULL;
/* XXXX Add your own initializers here */
return self;
}
+