Commit f6e6099d authored by Alexandre Duret-Lutz's avatar Alexandre Duret-Lutz

python: mark prop_deterministic as deprecated

Related to #212.

* python/spot/impl.i: Here.
parent 60bf675c
......@@ -444,6 +444,12 @@ namespace std {
%include <spot/twa/acc.hh>
%template(pair_bool_mark) std::pair<bool, spot::acc_cond::mark_t>;
%pythonprepend spot::twa::prop_deterministic %{
from warnings import warn
warn("use prop_universal() instead of prop_deterministic()",
DeprecationWarning)
%}
%include <spot/twa/twa.hh>
%include <spot/tl/apcollect.hh>
......@@ -484,6 +490,7 @@ namespace std {
%noexception spot::twa_graph::edges;
%noexception spot::twa_graph::univ_dests;
// Instead of %feature("shadow") we would like to use just
// %pythonprepend spot::twa_graph::out %{ self.report_univ_dest(src) %}
// However Swig 3.0.2 (from Debian stable) names the argument "*args"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment