Plan 9 from Bell Labs’s /usr/web/sources/contrib/bichued/root/sys/src/cmd/python/Tools/modulator/Templates/object_tail

Copyright © 2021 Plan 9 Foundation.
Distributed under the MIT License.
Download the Plan 9 distribution.



static char $Abbrev$type__doc__[] = 
""
;

static PyTypeObject $Abbrev$type = {
	PyObject_HEAD_INIT(&PyType_Type)
	0,				/*ob_size*/
	"$name$",			/*tp_name*/
	sizeof($abbrev$object),		/*tp_basicsize*/
	0,				/*tp_itemsize*/
	/* methods */
	(destructor)$tp_dealloc$,	/*tp_dealloc*/
	(printfunc)$tp_print$,		/*tp_print*/
	(getattrfunc)$tp_getattr$,	/*tp_getattr*/
	(setattrfunc)$tp_setattr$,	/*tp_setattr*/
	(cmpfunc)$tp_compare$,		/*tp_compare*/
	(reprfunc)$tp_repr$,		/*tp_repr*/
	$tp_as_number$,			/*tp_as_number*/
	$tp_as_sequence$,		/*tp_as_sequence*/
	$tp_as_mapping$,		/*tp_as_mapping*/
	(hashfunc)$tp_hash$,		/*tp_hash*/
	(ternaryfunc)$tp_call$,		/*tp_call*/
	(reprfunc)$tp_str$,		/*tp_str*/

	/* Space for future expansion */
	0L,0L,0L,0L,
	$Abbrev$type__doc__ /* Documentation string */
};

/* End of code for $name$ objects */
/* -------------------------------------------------------- */


Bell Labs OSI certified Powered by Plan 9

(Return to Plan 9 Home Page)

Copyright © 2021 Plan 9 Foundation. All Rights Reserved.
Comments to webmaster@9p.io.