Remove ''' from Python code

I think these were leftover from when the docs were in Markdown?
This commit is contained in:
Zachary Spector 2018-02-19 09:14:00 -05:00
pare d98a3546a3
commit bac8d1cfe3
S'han modificat 2 arxius amb 0 adicions i 8 eliminacions

Veure arxiu

@ -5,16 +5,13 @@ Mastodon.py
from mastodon import Mastodon from mastodon import Mastodon
# Register app - only once! # Register app - only once!
'''
Mastodon.create_app( Mastodon.create_app(
'pytooterapp', 'pytooterapp',
api_base_url = 'https://mastodon.social', api_base_url = 'https://mastodon.social',
to_file = 'pytooter_clientcred.secret' to_file = 'pytooter_clientcred.secret'
) )
'''
# Log in - either every time, or use persisted # Log in - either every time, or use persisted
'''
mastodon = Mastodon( mastodon = Mastodon(
client_id = 'pytooter_clientcred.secret', client_id = 'pytooter_clientcred.secret',
api_base_url = 'https://mastodon.social' api_base_url = 'https://mastodon.social'
@ -24,7 +21,6 @@ Mastodon.py
'incrediblygoodpassword', 'incrediblygoodpassword',
to_file = 'pytooter_usercred.secret' to_file = 'pytooter_usercred.secret'
) )
'''
# Create actual API instance # Create actual API instance
mastodon = Mastodon( mastodon = Mastodon(

Veure arxiu

@ -8,16 +8,13 @@ Mastodon.py
from mastodon import Mastodon from mastodon import Mastodon
# Register app - only once! # Register app - only once!
'''
Mastodon.create_app( Mastodon.create_app(
'pytooterapp', 'pytooterapp',
api_base_url = 'https://mastodon.social', api_base_url = 'https://mastodon.social',
to_file = 'pytooter_clientcred.secret' to_file = 'pytooter_clientcred.secret'
) )
'''
# Log in - either every time, or use persisted # Log in - either every time, or use persisted
'''
mastodon = Mastodon( mastodon = Mastodon(
client_id = 'pytooter_clientcred.secret', client_id = 'pytooter_clientcred.secret',
api_base_url = 'https://mastodon.social' api_base_url = 'https://mastodon.social'
@ -27,7 +24,6 @@ Mastodon.py
'incrediblygoodpassword', 'incrediblygoodpassword',
to_file = 'pytooter_usercred.secret' to_file = 'pytooter_usercred.secret'
) )
'''
# Create actual API instance # Create actual API instance
mastodon = Mastodon( mastodon = Mastodon(