From 4ccc0ba005135ae3c59c7061a2236f6f0f10d563 Mon Sep 17 00:00:00 2001 From: Harmon Date: Sun, 23 May 2021 16:20:11 -0500 Subject: [PATCH] Improve signature formatting in documentation for API.get_oembed --- tweepy/api.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) 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 -- 2.25.1