Message128077
There are currently two ways to specify a type doc string in PyType_FromSpec; either through the doc field (which is not actually processed), or through Py_tp_doc (which works correctly).
The original concern for adding doc into the TypeSpec was that the slots may only refer to function pointers; as it turns out, putting character pointers in there works fine as well, so I recommend to drop the doc field in TypeSlot.
The patch also fixes some labelling in the xxlimited module. |
|
| Date |
User |
Action |
Args |
| 2011-02-06 20:02:06 | loewis | set | recipients:
+ loewis, georg.brandl |
| 2011-02-06 20:02:06 | loewis | set | messageid: <[email protected]> |
| 2011-02-06 20:02:06 | loewis | link | issue11135 messages |
| 2011-02-06 20:02:06 | loewis | create | |
|