Passing method result as argument to other method-Collection of common programming errors

You are trying to supply a value where Python expects a simple name; that name will be assigned a value at runtime.

Since self is already an argument, you can probably just call self.method1() when method2 is run:

def method2(self)
    x = self.method1()

If you want the default value for a parameter to be set by method1, use None as a default value.

def method2(self, var=None):
    if var is None:
        var = self.method1()