DEBSOURCES
Skip Quicknav
sources / cython / 3.0.11%2Bdfsg-2 / docs / examples / userguide / language_basics / struct.py
1234567
Grail = cython.struct( age=cython.int, volume=cython.float) def main(): grail: Grail = Grail(5, 3.0) print(grail.age, grail.volume)