blob: 6ce79a3b9fd86854b4914d1f9f29e08f49978c64 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
;py,import interpreter
; pass value to Python and store in a self.attribute
o<retainparam1> call [25.0]
; now check it's still there
o<checkparam1_retained> call
; since 'self' is aliased to 'interpreter.this'
; the same value must show up here too:
;py,assert interpreter.this.param1 == 25.0
M2
|