Issue 1189: Documentation for tp_as_number tp_as_sequence tp_as_mapping (original) (raw)

This patch adds documentation for all the fields in the tp_as_number, tp_as_sequence and tp_as_mapping structures. It may not be complete, but is still better than the XXX in the current docs. This is my first contribution to the doc, feel free to amend it!

This patch describes the python3.0 situation, which is simpler since the removal of coercion. It can serve as a start for 2.6 as well; a second patch about coercion will follow.

PS: it's really a pleasure to use the new ReST format.