summaryrefslogtreecommitdiff
path: root/docs/examples/tutorial/pure/compiled_switch.py
blob: a35cac2c674d7cbe07cf5c8fa3a500a785fc4106 (plain)
1
2
3
4
5
6
import cython

if cython.compiled:
    print("Yep, I'm compiled.")
else:
    print("Just a lowly interpreted script.")