X-Git-Url: https://projects.mako.cc/source/twitter-api-cdsw/blobdiff_plain/4c43c9724c25c3d919cb535973559fab1f1c0a7b..a5afcef4759dfb5886e60791cf9b0b8fc7d67b8f:/tweepy/__init__.py diff --git a/tweepy/__init__.py b/tweepy/__init__.py index ff0005f..10f157a 100644 --- a/tweepy/__init__.py +++ b/tweepy/__init__.py @@ -5,15 +5,15 @@ """ Tweepy Twitter API library """ -__version__ = '2.3' +__version__ = '3.4.0' __author__ = 'Joshua Roesslein' __license__ = 'MIT' from tweepy.models import Status, User, DirectMessage, Friendship, SavedSearch, SearchResults, ModelFactory, Category -from tweepy.error import TweepError +from tweepy.error import TweepError, RateLimitError from tweepy.api import API from tweepy.cache import Cache, MemoryCache, FileCache -from tweepy.auth import OAuthHandler +from tweepy.auth import OAuthHandler, AppAuthHandler from tweepy.streaming import Stream, StreamListener from tweepy.cursor import Cursor @@ -21,7 +21,5 @@ from tweepy.cursor import Cursor api = API() def debug(enable=True, level=1): - - import httplib - httplib.HTTPConnection.debuglevel = level - + from six.moves.http_client import HTTPConnection + HTTPConnection.debuglevel = level