Or more concise
def method(self, spam, eggs, cheese, *args):
spam = spam or self.spam 
eggs = eggs or self.eggs
#etc., The above is equivelent to the following:
spam = spam if spam else self.spam
eggs = eggs if eggs else self.eggs 
# I prefer the first approach.. 


On Dec 16, 2020, at 6:14 PM, Steven D'Aprano <steve@pearwood.info> wrote:

def method(self, spam, eggs, cheese, tomato, aardvark):
       if spam is None: spam = self.spam
       if eggs is None: eggs = self.eggs
       # etc