2015-07-05 18:05:44 +00:00
|
|
|
<class 'example.EMyEnumeration'>
|
|
|
|
EMyEnumeration.EFirstEntry
|
|
|
|
EMyEnumeration.ESecondEntry
|
|
|
|
EMyEnumeration.EFirstEntry
|
2015-10-01 14:48:34 +00:00
|
|
|
test_function()
|
2015-07-05 18:05:44 +00:00
|
|
|
False
|
2015-10-01 14:48:34 +00:00
|
|
|
test_function(7)
|
2015-07-05 18:05:44 +00:00
|
|
|
3.5
|
2015-10-01 14:48:34 +00:00
|
|
|
test_function(enum=1)
|
2015-07-05 18:05:44 +00:00
|
|
|
None
|
2015-10-01 14:48:34 +00:00
|
|
|
test_function(enum=2)
|
2015-07-05 18:05:44 +00:00
|
|
|
None
|
2016-01-17 21:36:41 +00:00
|
|
|
<class 'example.EMode'>
|
2015-07-05 18:05:44 +00:00
|
|
|
EMode.EFirstMode
|
|
|
|
EMode.EFirstMode
|
2015-10-01 14:48:34 +00:00
|
|
|
Example4::test_function(enum=1)
|
2016-01-17 21:36:37 +00:00
|
|
|
bytes[0]=1
|
|
|
|
bytes[1]=0
|
|
|
|
bytes[2]=2
|
|
|
|
bytes[3]=0
|