Reference Guide¶ Note Contents: Compilation Compiling from the command line Compiling with distutils Compiling with pyximport Compiling with cython.inline Compiling with Sage Compiler directives Language Basics Cython File Types Declaring Data Types Statements and Expressions Functions and Methods Error and Exception Handling Conditional Compilation Extension Types Attributes Methods Properties Special Methods Subclassing Forward Declarations Extension Types and None Weak Referencing Dynamic Attributes External and Public Types Type Names vs. Constructor Names Interfacing with Other Code C C++ Fortran NumPy Special Mention Limitations Compiler Directives Indices and tables¶ Special Methods Table General Arithmetic operators Numeric conversions In-place arithmetic operators Sequences and mappings Iterators Buffer interface Descriptor objects Index Module Index Search Page