diff -r c6892ce7e56f Doc/extending/newtypes.rst --- a/Doc/extending/newtypes.rst Mon Sep 17 09:01:03 2012 +0200 +++ b/Doc/extending/newtypes.rst Mon Sep 17 12:00:09 2012 +0300 @@ -1277,9 +1277,9 @@ bit does not indicate that the slot values are non-*NULL*. The flag may be set to indicate the presence of a slot, but a slot may still be unfilled.) :: - PyNumberMethods tp_as_number; - PySequenceMethods tp_as_sequence; - PyMappingMethods tp_as_mapping; + PyNumberMethods *tp_as_number; + PySequenceMethods *tp_as_sequence; + PyMappingMethods *tp_as_mapping; If you wish your object to be able to act like a number, a sequence, or a mapping object, then you place the address of a structure that implements the C