------------------------------------------------------------
revno: 3709
committer: Bruno Chareyre <[email protected]>
timestamp: Thu 2015-07-30 18:08:08 +0200
message:
add function has() to O.interactions to check if (id1,id2) exists + fix doc
of O.interactions
You can also call it __contains__
(https://docs.python.org/2/reference/datamodel.html#object.__contains__), and
do things like "if (0,1) in ..." v.
_______________________________________________
Mailing list: https://launchpad.net/~yade-dev
Post to : [email protected]
Unsubscribe : https://launchpad.net/~yade-dev
More help : https://help.launchpad.net/ListHelp