Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(0)  |  Call(0)  |  Derive(0)  |  Import(0)
str(object='') -> string

Return a nice string representation of the object.
If the argument is a string, the return value is the same object.

src/s/p/SPADE-2.2.1/spade/Agent.py   SPADE(Download)
        ACLmsg._attrs.update({"method": method})
        if ACLmsg.getAclRepresentation() is None:
            ACLmsg.setAclRepresentation(ACLMessage.FIPA_ACL_REP_XML)
        # Check for the sender field!!! (mistake #1)
        if not ACLmsg.getSender():

src/s/p/spade-HEAD/spade/Agent.py   spade(Download)
        ACLmsg._attrs.update({"method": method})
        if ACLmsg.getAclRepresentation() is None:
            ACLmsg.setAclRepresentation(ACLMessage.FIPA_ACL_REP_XML)
        # Check for the sender field!!! (mistake #1)
        if not ACLmsg.getSender():