In Python, you can use the self keyword to refer to the instance of the enclosing class within a method.