diff options
author | Jack Jansen <jack.jansen@cwi.nl> | 1995-05-16 13:47:03 (GMT) |
---|---|---|
committer | Jack Jansen <jack.jansen@cwi.nl> | 1995-05-16 13:47:03 (GMT) |
commit | ebed75116fcd1ebc4737c4ba77b9b74c8b032742 (patch) | |
tree | ee10da97ba30b2d0740ce01eef71aa8d74c1b19e /Tools/modulator/Templates/object_new | |
parent | 52e02998ef9d0c5643cf037f2db3cc5cf7c8c451 (diff) | |
download | cpython-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_new | 3 |
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; } + |