diff --git a/README.rst b/README.rst index 58fb9a9..5668c20 100644 --- a/README.rst +++ b/README.rst @@ -5,16 +5,13 @@ Mastodon.py from mastodon import Mastodon # Register app - only once! - ''' Mastodon.create_app( 'pytooterapp', api_base_url = 'https://mastodon.social', to_file = 'pytooter_clientcred.secret' ) - ''' # Log in - either every time, or use persisted - ''' mastodon = Mastodon( client_id = 'pytooter_clientcred.secret', api_base_url = 'https://mastodon.social' @@ -24,7 +21,6 @@ Mastodon.py 'incrediblygoodpassword', to_file = 'pytooter_usercred.secret' ) - ''' # Create actual API instance mastodon = Mastodon( diff --git a/docs/index.rst b/docs/index.rst index 5a1254d..7e50ebb 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -8,16 +8,13 @@ Mastodon.py from mastodon import Mastodon # Register app - only once! - ''' Mastodon.create_app( 'pytooterapp', api_base_url = 'https://mastodon.social', to_file = 'pytooter_clientcred.secret' ) - ''' # Log in - either every time, or use persisted - ''' mastodon = Mastodon( client_id = 'pytooter_clientcred.secret', api_base_url = 'https://mastodon.social' @@ -27,7 +24,6 @@ Mastodon.py 'incrediblygoodpassword', to_file = 'pytooter_usercred.secret' ) - ''' # Create actual API instance mastodon = Mastodon(