(self, name)
return name
Remove extraneous information from C++ demangled function names.
Remove extraneous information from C++ demangled function names.
Remove extraneous information from C ++ demangled function names .
def strip_function_name(self, name):
        """Remove extraneous information from C++ demangled function names."""

        # Strip function parameters from name by recursively removing paired parenthesis
        while True:
            name, n = self._parenthesis_re.subn('', name)
            if not n:
                break

        # Strip const qualifier
        name = self._const_re.sub('', name)

        # Strip template parameters from name by recursively removing paired angles
        while True:
            name, n = self._angles_re.subn('', name)
            if not n:
                break

        return name
def strip_function_name ( self , name ) : # Strip function parameters from name by recursively removing paired parenthesis while True : name , n = self . _parenthesis_re . subn ( '' , name ) if not n : break # Strip const qualifier name = self . _const_re . sub ( '' , name ) # Strip template parameters from name by recursively removing paired angles while True : name , n = self . _angles_re . subn ( '' , name ) if not n : break return name