You've already forked ada-py-bind
mirror of
https://github.com/AdaCore/ada-py-bind.git
synced 2026-02-12 13:05:06 -08:00
14 lines
153 B
Python
14 lines
153 B
Python
import gen
|
|
|
|
p = gen.Shape()
|
|
print p.kind
|
|
p.kind = "circle"
|
|
print p.kind
|
|
|
|
try:
|
|
p.kind ="lol"
|
|
except Exception as e:
|
|
print e.message
|
|
|
|
print p.kind
|