mirror of https://github.com/python/cpython.git
Two new methods
This commit is contained in:
parent
5214a29774
commit
8d2033f08b
|
@ -0,0 +1,9 @@
|
||||||
|
|
||||||
|
static PyObject *
|
||||||
|
$abbrev$_call(self, args)
|
||||||
|
$abbrev$object *self;
|
||||||
|
PyObject *args;
|
||||||
|
{
|
||||||
|
/* XXXX Return the result of calling self with argument args */
|
||||||
|
}
|
||||||
|
|
|
@ -0,0 +1,11 @@
|
||||||
|
|
||||||
|
static PyObject *
|
||||||
|
$abbrev$_str(self)
|
||||||
|
$abbrev$object *self;
|
||||||
|
{
|
||||||
|
PyObject *s;
|
||||||
|
|
||||||
|
/* XXXX Add code here to put self into s */
|
||||||
|
return s;
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in New Issue