diff options
author | MarkEEaton <[email protected]> | 2018-08-14 13:25:24 -0400 |
---|---|---|
committer | GitHub <[email protected]> | 2018-08-14 13:25:24 -0400 |
commit | 84b1bc72496570f87f6d0ec52a8f8aa5f54addbe (patch) | |
tree | f2c0793c6390c2e5d0658533f5588690841d90f9 | |
parent | cf4987d601a4ccfedbf10f05f25a9365fc46f9b9 (diff) | |
download | mastodon.py-84b1bc72496570f87f6d0ec52a8f8aa5f54addbe.tar.gz |
Keep the ''' and explain why they are there
This commit takes into account the discussion from https://github.com/halcy/Mastodon.py/pull/125
-rw-r--r-- | README.rst | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -1,16 +1,18 @@ | |||
1 | Mastodon.py | 1 | Mastodon.py |
2 | =========== | 2 | =========== |
3 | Register your app! This only needs to be done once. | 3 | Register your app! This only needs to be done once. Uncomment the code and substitute in your information. |
4 | 4 | ||
5 | .. code-block:: python | 5 | .. code-block:: python |
6 | 6 | ||
7 | from mastodon import Mastodon | 7 | from mastodon import Mastodon |
8 | 8 | ||
9 | ''' | ||
9 | Mastodon.create_app( | 10 | Mastodon.create_app( |
10 | 'pytooterapp', | 11 | 'pytooterapp', |
11 | api_base_url = 'https://mastodon.social', | 12 | api_base_url = 'https://mastodon.social', |
12 | to_file = 'pytooter_clientcred.secret' | 13 | to_file = 'pytooter_clientcred.secret' |
13 | ) | 14 | ) |
15 | ''' | ||
14 | 16 | ||
15 | Then login. This can be done every time, or use persisted. | 17 | Then login. This can be done every time, or use persisted. |
16 | 18 | ||