Project Name: ayharano+pppipam
Language: Python
Statement Type: API

Source Code:
def delete(self, *, ip_parameter, cascade):

        as_address = clean_address(ip_parameter)
        as_network = clean_network(ip_parameter)

        if as_address in self.__description:
            return self.__remove_ip_object(as_address)
        elif as_network in self.__description:
            return self.__remove_ip_object(as_network)

        raise IPObjectNotInSpaceError("cannot delete undescribed IP object")

delete(self=AddressSpace(_AddressSpace__strict=False, _AddressSpace__description={IPv4Address('203.0.113.128'): 'an IPv4 test net address'}, _AddressSpace__networks={}, _AddressSpace__addresses={4: {IPv4Address('203.0.113.128')}}, _AddressSpace__parent_supernet={IPv4Address('203.0.113.128'): None}, _AddressSpace__children_ip_object={None: {IPv4Address('203.0.113.128')}}), ip_parameter='203.0.113.128', cascade=True, self._AddressSpace__addresses={4: {IPv4Address('203.0.113.128')}}, self._AddressSpace__children_ip_object={None: {IPv4Address('203.0.113.128')}}, self._AddressSpace__description={IPv4Address('203.0.113.128'): 'an IPv4 test net address'}, self._AddressSpace__networks={}, self._AddressSpace__parent_supernet={IPv4Address('203.0.113.128'): None}, self._AddressSpace__strict=False)

Selected Statement: as_address = clean_address(ip_parameter)

Function Input:
self: AddressSpace(_AddressSpace__strict=False, _AddressSpace__description={IPv4Address('203.0.113.128'): 'an IPv4 test net address'}, _AddressSpace__networks={}, _AddressSpace__addresses={4: {IPv4Address('203.0.113.128')}}, _AddressSpace__parent_supernet={IPv4Address('203.0.113.128'): None}, _AddressSpace__children_ip_object={None: {IPv4Address('203.0.113.128')}})
ip_parameter: '203.0.113.128'
cascade: True
self._AddressSpace__addresses: {4: {IPv4Address('203.0.113.128')}}
self._AddressSpace__children_ip_object: {None: {IPv4Address('203.0.113.128')}}
self._AddressSpace__description: {IPv4Address('203.0.113.128'): 'an IPv4 test net address'}
self._AddressSpace__parent_supernet: {IPv4Address('203.0.113.128'): None}
self._AddressSpace__strict: False

Variable Values Before Statement:
ip_parameter: '203.0.113.128'

Value After Statement Execution: IPv4Address('203.0.113.128')

Variable States During Runtime (line, value):
self: 1
AddressSpace(_AddressSpace__strict=False, _AddressSpace__description={IPv4Address('203.0.113.128'): 'an IPv4 test net address'}, _AddressSpace__networks={}, _AddressSpace__addresses={4: {IPv4Address('203.0.113.128')}}, _AddressSpace__parent_supernet={IPv4Address('203.0.113.128'): None}, _AddressSpace__children_ip_object={None: {IPv4Address('203.0.113.128')}})
7
AddressSpace(_AddressSpace__strict=False, _AddressSpace__description={}, _AddressSpace__networks={}, _AddressSpace__addresses={4: {IPv4Address('203.0.113.128')}}, _AddressSpace__parent_supernet={}, _AddressSpace__children_ip_object={None: set()})
ip_parameter: 1
'203.0.113.128'
cascade: 1
True
self._AddressSpace__addresses: 1
{4: {IPv4Address('203.0.113.128')}}
self._AddressSpace__children_ip_object: 1
{None: {IPv4Address('203.0.113.128')}}
7
{None: set()}
self._AddressSpace__description: 1
{IPv4Address('203.0.113.128'): 'an IPv4 test net address'}
7
self._AddressSpace__networks: 1
self._AddressSpace__parent_supernet: 1
{IPv4Address('203.0.113.128'): None}
7
self._AddressSpace__strict: 1
False
as_address: 3
IPv4Address('203.0.113.128')
as_network: 4
IPv4Network('203.0.113.128/32')