#NEWLINE# def basic_auth( self , username , password ) : #NEWLINE# #INDENT# 'Set the Basic Auth credentials on this Session.\n\n        :param str username: Your GitHub username\n        :param str password: Your GitHub password\n        ' #NEWLINE# if ( not ( username and password ) ) : #NEWLINE# #INDENT# return #NEWLINE# #UNINDENT# self . auth = ( username , password ) #NEWLINE# self . headers . pop ( 'Authorization' , None )