python: support operator rewriting in __format__
Fixes #168. * python/spot/__init__.py: Implement it. * tests/python/formulas.ipynb: Test it. * NEWS: Mention it.
This commit is contained in:
parent
d9174593c8
commit
e91c6ba2f1
3 changed files with 23 additions and 4 deletions
5
NEWS
5
NEWS
|
|
@ -55,6 +55,11 @@ New in spot 2.0a (not yet released)
|
|||
|
||||
* The tgba_determinize() function is now accessible in Python.
|
||||
|
||||
* The __format__() method for formula support the same
|
||||
operator-rewritting feature introduced in ltldo and ltlcross.
|
||||
So "{:[i]s}".format(f) is the same as
|
||||
"{:s}".format(f.unabbreviate("i")).
|
||||
|
||||
Bug fixes:
|
||||
|
||||
* Typo in documentation of the -H option in --help output.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue