Sign in
fuchsia
/
third_party
/
swig
/
3f78ea64c041d0f55966b896745b9fc6c3704b71
/
.
/
Examples
/
test-suite
/
python
/
using_private_runme.py
blob: 9e0a15f129a06e875829fbf7e06f933bda0f80e2 [
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)"
)