def normalize(self, decl_string, arg_separator=None):
if not self.has_pattern(decl_string):<EOL><INDENT>return decl_string<EOL><DEDENT>name, args = self.split(decl_string)<EOL>for i, arg in enumerate(args):<EOL><INDENT>args[i] = self.normalize(arg)<EOL><DEDENT>return self.join(name, args, arg_separator)<EOL>
implementation details