def new_child(self, enable_nonlocal=None):
        'Make a child context, inheriting enable_nonlocal unless specified'
        enable_nonlocal = self.enable_nonlocal if enable_nonlocal is None else enable_nonlocal
        return self.__class__(enable_nonlocal=enable_nonlocal, parent=self)
Make a child context, inheriting enable_nonlocal unless specified
recipes/Python/577434_Nested_contexts__chamapping/recipe-577434.py