from twisted.internet import reactor
reactor.listenTCP(8789, factory)
reactor.run()
[(2, 'twisted.internet.reactor.listenTCP', 'reactor.listenTCP', False, 'from twisted.internet import reactor\n'), (3, 'twisted.internet.reactor.run', 'reactor.run', False, 'from twisted.internet import reactor\n')]