Sign in
fuchsia
/
third_party
/
swig
/
decfe5dd8181d962e8b05ea531650d8589dc2b30
/
.
/
trunk
/
Examples
/
test-suite
/
python
/
director_thread_runme.py
blob: e66817e173f3d4a7c901d0f51d8495d09624f98a [
file
] [
log
] [
blame
]
from
director_thread
import
Foo
class
Derived
(
Foo
)
:
def
__init__
(
self
):
Foo
.
__init__
(
self
)
def
do_foo
(
self
):
self
.
val
=
self
.
val
-
1
d
=
Derived
()
d
.
run
()
if
d
.
val
>=
0
:
print
d
.
val
raise
RuntimeError