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/b/3/b3-1.9.2/b3/parsers/homefront/__init__.py   b3(Download)
    def routePacket(self, packet):
        if packet is None:
            self.warning('cannot route empty packet')
        if packet.message == MessageType.SERVER_TRANSMISSION \
            and packet.data == "PONG":
            self.verbose2("%s" % packet)
        else:
            self.console("%s" % packet)
 
        if packet.message == MessageType.SERVER_TRANSMISSION:

src/b/i/big-brother-bot-HEAD/b3/parsers/homefront/__init__.py   big-brother-bot(Download)
    def routePacket(self, packet):
        if packet is None:
            self.warning('cannot route empty packet')
        if packet.message == MessageType.SERVER_TRANSMISSION \
            and packet.data == "PONG":
            self.verbose2("%s" % packet)
        else:
            self.console("%s" % packet)
 
        if packet.message == MessageType.SERVER_TRANSMISSION: