From ac0d28a7b7bab9ae924fa66999b78afb510d68d6 Mon Sep 17 00:00:00 2001 From: Harmon Date: Sat, 26 Dec 2020 01:44:41 -0600 Subject: [PATCH] Update HTTPConnection import --- tweepy/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tweepy/__init__.py b/tweepy/__init__.py index 1114b06..c6051a9 100644 --- a/tweepy/__init__.py +++ b/tweepy/__init__.py @@ -21,5 +21,5 @@ from tweepy.streaming import Stream, StreamListener api = API() def debug(enable=True, level=1): - from six.moves.http_client import HTTPConnection + from http.client import HTTPConnection HTTPConnection.debuglevel = level -- 2.25.1