[Python-Dev] Slot for trunc (original) (raw)
Raymond Hettinger python at rcn.com
Tue Jan 29 20:04:50 CET 2008
- Previous message: [Python-Dev] Py2.6 release schedule
- Next message: [Python-Dev] Slot for __trunc__
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Should the implementation of trunc have its own slot like we have for nb_index?
Raymond
rhettinger at localhost ~/py26/Objects $ grep "trunc" *.c floatobject.c: {"trunc", (PyCFunction)float_trunc, METH_NOARGS, intobject.c: {"trunc", (PyCFunction)int_int, METH_NOARGS, longobject.c: {"trunc", (PyCFunction)long_long, METH_NOARGS,
- Previous message: [Python-Dev] Py2.6 release schedule
- Next message: [Python-Dev] Slot for __trunc__
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]