Cython has moved to github.

pyrex

view Tests/Bugs/devan/devan1.pyx @ 104:955ec491fcfc

Fix hex compile-time constants
author Gregory Ewing <greg.ewing@canterbury.ac.nz>
date Wed Aug 27 19:05:46 2008 +1200 (3 years ago)
parents
children
line source
1 DEF SPAM = 2
2 DEF FOO = 0x10
3 DEF BAR = 0x20
5 def print_constants():
6 print SPAM
7 print FOO
8 print BAR