From: Harmon Date: Sun, 23 May 2021 21:20:11 +0000 (-0500) Subject: Improve signature formatting in documentation for API.get_oembed X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=4ccc0ba005135ae3c59c7061a2236f6f0f10d563;p=tweepy.git Improve signature formatting in documentation for API.get_oembed --- diff --git a/tweepy/api.py b/tweepy/api.py index 603c5f6..a958bbe 100644 --- a/tweepy/api.py +++ b/tweepy/api.py @@ -657,9 +657,10 @@ class API: @payload('json') def get_oembed(self, url, **kwargs): - """get_oembed(url, *, maxwidth, hide_media, hide_thread, omit_script, \ - align, related, lang, theme, link_color, widget_type, \ - dnt) + """get_oembed( + url, *, maxwidth, hide_media, hide_thread, omit_script, align, \ + related, lang, theme, link_color, widget_type, dnt \ + ) Returns a single Tweet, specified by either a Tweet web URL or the Tweet ID, in an oEmbed-compatible format. The returned HTML snippet will