#NEWLINE# def _oauth1_client( self , token = None , consumer_key = None , consumer_secret = None ) : #NEWLINE# #INDENT# 'Returns OAuth 1.0 client that is capable of signing requests.' #NEWLINE# args = [ oauth1 . Consumer ( key = consumer_key , secret = consumer_secret ) ] #NEWLINE# if token : #NEWLINE# #INDENT# args . append ( token ) #NEWLINE# #UNINDENT# return oauth1 . Client ( * args )