diff options
Diffstat (limited to 'src/launchpadlib/docs/introduction.txt')
-rw-r--r-- | src/launchpadlib/docs/introduction.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/launchpadlib/docs/introduction.txt b/src/launchpadlib/docs/introduction.txt index 88ede40..722ebac 100644 --- a/src/launchpadlib/docs/introduction.txt +++ b/src/launchpadlib/docs/introduction.txt @@ -230,11 +230,11 @@ get a request token. >>> authorization_url = credentials.get_request_token( ... context='firefox', web_root='test_dev') >>> print(authorization_url) - http://launchpad.dev:8085/+authorize-token?oauth_token=...&lp.context=firefox + http://launchpad.test:8085/+authorize-token?oauth_token=...&lp.context=firefox We use 'test_dev' as a shorthand for the root URL of the Launchpad installation. It's defined in the 'uris' module as -'http://launchpad.dev:8085/', and the launchpadlib code knows how to +'http://launchpad.test:8085/', and the launchpadlib code knows how to dereference it before using it as a URL. Information about the request token is kept in the _request_token |