From: Ben Darnell Date: Sun, 3 Nov 2013 20:02:24 +0000 (-0500) Subject: Rearrange newly-added optional arguments for backwards compatibility. X-Git-Tag: v3.2.0b1~53 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=46c67e1dd6cbcde415faac81b12788444e0ae06b;p=thirdparty%2Ftornado.git Rearrange newly-added optional arguments for backwards compatibility. --- diff --git a/tornado/auth.py b/tornado/auth.py index 5f8aec9ed..a2cef3565 100644 --- a/tornado/auth.py +++ b/tornado/auth.py @@ -548,9 +548,8 @@ class OAuth2Mixin(object): """ @return_future def authorize_redirect(self, redirect_uri=None, client_id=None, - client_secret=None, scope=None, - response_type="code", extra_params=None, - callback=None): + client_secret=None, extra_params=None, + callback=None, scope=None, response_type="code"): """Redirects the user to obtain OAuth authorization for this service. Some providers require that you register a redirect URL with