10.3 Number Object Structures
Keywords: api

|  |  | Python/C API Reference Manual |  |  |

Previous: 10.2 Mapping Object Structures Up: 10. Defining New Object Next: 10.4 Sequence Object Structures

#
10.3 Number Object Structures

`PyNumberMethods`
  Structure used to hold pointers to the functions an extension type uses to implement the number protocol.

|  |  | Python/C API Reference Manual |  |  |

Previous: 10.2 Mapping Object Structures Up: 10. Defining New Object Next: 10.4 Sequence Object Structures