PageRenderTime 25ms CodeModel.GetById 18ms app.highlight 3ms RepoModel.GetById 1ms app.codeStats 0ms

/trunk/Examples/test-suite/python/memberin_extend_c_runme.py

#
Python | 6 lines | 5 code | 1 blank | 0 comment | 1 complexity | 42736e1e4b8a81124fac3a9d275163ca MD5 | raw file
1import memberin_extend_c
2
3t = memberin_extend_c.Person()
4t.name = "Fred Bloggs"
5if t.name != "FRED BLOGGS":
6  raise RuntimeError("name wrong")