Remove map_ keyword argument aliasing for API.statuses_lookup
authorHarmon <Harmon758@gmail.com>
Sun, 7 Feb 2021 04:42:09 +0000 (22:42 -0600)
committerHarmon <Harmon758@gmail.com>
Sun, 7 Feb 2021 04:42:09 +0000 (22:42 -0600)
tweepy/api.py

index f59fc9268169c137196694daab5789747202dad3..8b0f41afeadb4db51210e354b9bb361e40f69ccd 100644 (file)
@@ -264,9 +264,6 @@ class API:
             :allowed_param: 'id', 'include_entities', 'trim_user', 'map',
                             'include_ext_alt_text', 'include_card_uri'
         """
-        if 'map_' in kwargs:
-            kwargs['map'] = kwargs.pop('map_')
-
         return self.request(
             'GET', 'statuses/lookup', list_to_csv(id_), *args,
             allowed_param=['id', 'include_entities', 'trim_user', 'map',