16 lines
303 B
Plaintext
16 lines
303 B
Plaintext
|
|
;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
|
|
|