(self, grouped=True)
Return process' mapped memory regions as a list of namedtuples
        whose fields are variable depending on the platform.

        If 'grouped' is True the mapped regions with the same 'path'
        are grouped together and the different memory fields are summed.

        If 'grouped' is False every mapped region is shown as a single
        entity and the namedtuple will also include the mapped region's
        address space ('addr') and permission set ('perms').
Return process' mapped memory regions as a list of namedtuples
        whose fields are variable depending on the platform.
Return process mapped memory regions as a list of namedtuples whose fields are variable depending on the platform .
def memory_maps(self, grouped=True):
        """Return process' mapped memory regions as a list of namedtuples
        whose fields are variable depending on the platform.

        If 'grouped' is True the mapped regions with the same 'path'
        are grouped together and the different memory fields are summed.

        If 'grouped' is False every mapped region is shown as a single
        entity and the namedtuple will also include the mapped region's
        address space ('addr') and permission set ('perms').
        """
        it = self._proc.memory_maps()
        if grouped:
            d = {}
            for tupl in it:
                path = tupl[2]
                nums = tupl[3:]
                try:
                    d[path] = map(lambda x, y: x + y, d[path], nums)
                except KeyError:
                    d[path] = nums
            nt = _psplatform.pmmap_grouped
            return [nt(path, *d[path]) for path in d]  # NOQA
        else:
            nt = _psplatform.pmmap_ext
            return [nt(*x) for x in it]
def memory_maps ( self , grouped = True ) : it = self . _proc . memory_maps ( ) if grouped : d = { } for tupl in it : path = tupl [ 2 ] nums = tupl [ 3 : ] try : d [ path ] = map ( lambda x , y : x + y , d [ path ] , nums ) except KeyError : d [ path ] = nums nt = _psplatform . pmmap_grouped return [ nt ( path , * d [ path ] ) for path in d ] # NOQA else : nt = _psplatform . pmmap_ext return [ nt ( * x ) for x in it ]