<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def basic_auth(self, username, password):
 """Set the Basic Auth credentials on this Session. :param str username: Your GitHub username :param str password: Your GitHub password """

        if not (username and password):
            return

        self.auth = (username, password)

        # Disable token authentication
        self.headers.pop('Authorization', None)