Sign in
fuchsia
/
third_party
/
swig
/
ae709933805236a8bbf2cba82ed984d92c82ee9c
/
.
/
Examples
/
test-suite
/
python
/
using_private_runme.py
blob: 00c9a8d25bbc4ecdb64d613ae9ead6c08525cba7 [
file
] [
log
] [
blame
]
from
using_private
import
*
f
=
FooBar
()
f
.
x
=
3
if
f
.
blah
(
4
)
!=
4
:
raise
RuntimeError
,
"blah(int)"
if
f
.
defaulted
()
!=
-
1
:
raise
RuntimeError
,
"defaulted()"
if
f
.
defaulted
(
222
)
!=
222
:
raise
RuntimeError
,
"defaulted(222)"