Python tweepy 模块,streaming() 实例源码

我们从Python开源项目中,提取了以下1个代码示例,用于说明如何使用tweepy.streaming()

项目:lexiconjure    作者:rossgoodwin    | 项目源码 | 文件源码
def on_disconnect(self, notice):
        """Called when twitter sends a disconnect notice
        Disconnect codes are listed here:
        https://dev.twitter.com/docs/streaming-apis/messages#Disconnect_messages_disconnect
        """
        print notice
        return False