Hackfut Security File Manager
Current Path:
/usr/lib64/python2.6/site-packages/modulator/Templates
usr
/
lib64
/
python2.6
/
site-packages
/
modulator
/
Templates
/
📁
..
📄
module_head
(113 B)
📄
module_method
(223 B)
📄
module_tail
(809 B)
📄
object_head
(243 B)
📄
object_method
(215 B)
📄
object_mlist
(117 B)
📄
object_new
(219 B)
📄
object_structure
(871 B)
📄
object_tail
(901 B)
📄
object_tp_as_mapping
(670 B)
📄
object_tp_as_number
(3.05 KB)
📄
object_tp_as_sequence
(1.37 KB)
📄
object_tp_call
(159 B)
📄
object_tp_compare
(121 B)
📄
object_tp_dealloc
(117 B)
📄
object_tp_getattr
(182 B)
📄
object_tp_hash
(95 B)
📄
object_tp_print
(131 B)
📄
object_tp_repr
(130 B)
📄
object_tp_setattr
(200 B)
📄
object_tp_str
(130 B)
Editing: object_tp_as_mapping
/* Code to access $name$ objects as mappings */ static int $abbrev$_length($abbrev$object *self) { /* XXXX Return the size of the mapping */ } static PyObject * $abbrev$_subscript($abbrev$object *self, PyObject *key) { /* XXXX Return the item of self indexed by key */ } static int $abbrev$_ass_sub($abbrev$object *self, PyObject *v, PyObject *w) { /* XXXX Put w in self under key v */ return 0; } static PyMappingMethods $abbrev$_as_mapping = { (inquiry)$abbrev$_length, /*mp_length*/ (binaryfunc)$abbrev$_subscript, /*mp_subscript*/ (objobjargproc)$abbrev$_ass_sub, /*mp_ass_subscript*/ }; /* -------------------------------------------------------- */
Upload File
Create Folder