python: allow iterating over the successors of a state

Fixes #118.

* spot/twa/twagraph.hh: Avoid using graph_t::state to help Swig.
* wrap/python/spot_impl.i: Add a __str__ function for acc_cond::mark_t.
* doc/org/tut21.org: Add the Python version.
* doc/org/tut.org: Move tut21.org to the Python/C++ section.
* NEWS: Update.
This commit is contained in:
Alexandre Duret-Lutz 2015-12-14 11:51:57 +01:00
parent 4b853865b9
commit 9313222e95
5 changed files with 151 additions and 13 deletions

4
NEWS
View file

@ -35,6 +35,10 @@ New in spot 1.99.6a (not yet released)
Python:
* Iterating over the transitions leaving a state (the
twa_graph::out() C++ function) is now possible in Python. See
https://spot.lrde.epita.fr/tut21.html for a demonstration.
Documentation:
* There is a new page explaining how to compile example programs and