Language BasicsΒΆ

Note

The sections in this page were moved to the Language Basics in the userguide.

Cython File TypesΒΆ

This section was moved to Cython file types.

Implementation FileΒΆ

What can it contain?ΒΆ

What can’t it contain?ΒΆ

Definition FileΒΆ

What can it contain?ΒΆ

What can’t it contain?ΒΆ

What else?ΒΆ

cimportΒΆ
compilation orderΒΆ

Include FileΒΆ

What can it contain?ΒΆ

How do I use it?ΒΆ

Declaring Data TypesΒΆ

This section was moved to Declaring Data Types.

The cdef StatementΒΆ

This section was moved to C variable and type definitions.

Grouping cdef DeclarationsΒΆ

This section was moved to C variable and type definitions.

C types and Python classesΒΆ

This section was moved to Types.

ParametersΒΆ

This section was moved to Python functions vs. C functions.

Automatic Type ConversionΒΆ

This section was moved to Automatic type conversions.

Type CastingΒΆ

This section was moved to Type Casting.

Checked Type CastsΒΆ

This section was moved to Checked Type Casts.

Statements and ExpressionsΒΆ

This section was moved to Statements and expressions.

Differences Between Cython and CΒΆ

Scope RulesΒΆ

Built-in ConstantsΒΆ

Operator PrecedenceΒΆ

For-loopsΒΆ

Functions and MethodsΒΆ

This section was moved to Python functions vs. C functions.

Callable from Python (def)ΒΆ

Callable from C (cdef)ΒΆ

Callable from both Python and C (cpdef)ΒΆ

OverridingΒΆ

This section was moved to Overriding in extension types.

Function PointersΒΆ

Python Built-insΒΆ

This section was moved to Built-in Functions.

Optional ArgumentsΒΆ

This section was moved to Optional Arguments.

Keyword-only ArgumentsΒΆ

This section was moved to Keyword-only Arguments.

Error and Exception HandlingΒΆ

This section was moved to Error return values.

Checking return values for non-Cython functions..ΒΆ

This section was moved to Checking return values of non-Cython functions.

Conditional CompilationΒΆ

This section was moved to Conditional Compilation.

Compile-Time DefinitionsΒΆ

Conditional StatementsΒΆ