class Person: def __init__(self): pass def foo(self, name=None): def __init__(self): self.name = name result =  result = result.append(name) return result
self isa nested function
__init__overrides the argument is
foo. If within that
__init__you need to seek outside
self, you will not be able to do it. If you do not need, then need not worry. And if needed,
selfnested functions it is necessary to something to rename.