File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -30,15 +30,15 @@ a callback URL then you can try out the command line interactive example below.
3030 ... # offline for refresh token
3131 ... # force to always make user click authorize
3232 ... access_type="offline", prompt="select_account")
33- >>> print 'Please go here and authorize, ', authorization_url
33+ >>> print( 'Please go here and authorize: ', authorization_url)
3434
3535 >>> # Get the authorization verifier code from the callback url
36- >>> redirect_response = raw_input ('Paste the full redirect URL here:')
36+ >>> redirect_response = input ('Paste the full redirect URL here: ')
3737
3838 >>> # Fetch the access token
3939 >>> google.fetch_token(token_url, client_secret=client_secret,
4040 ... authorization_response=redirect_response)
4141
4242 >>> # Fetch a protected resource, i.e. user profile
4343 >>> r = google.get('https://www.googleapis.com/oauth2/v1/userinfo')
44- >>> print r.content
44+ >>> print( r.content)
You can’t perform that action at this time.
0 commit comments