aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkEEaton <[email protected]>2018-08-14 13:25:24 -0400
committerGitHub <[email protected]>2018-08-14 13:25:24 -0400
commit84b1bc72496570f87f6d0ec52a8f8aa5f54addbe (patch)
treef2c0793c6390c2e5d0658533f5588690841d90f9
parentcf4987d601a4ccfedbf10f05f25a9365fc46f9b9 (diff)
downloadmastodon.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.rst4
1 files changed, 3 insertions, 1 deletions
diff --git a/README.rst b/README.rst
index 779af96..39923b9 100644
--- a/README.rst
+++ b/README.rst
@@ -1,16 +1,18 @@
1Mastodon.py 1Mastodon.py
2=========== 2===========
3Register your app! This only needs to be done once. 3Register 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
15Then login. This can be done every time, or use persisted. 17Then login. This can be done every time, or use persisted.
16 18
Powered by cgit v1.2.3 (git 2.41.0)