def _normalize_custom_param_name(name):
replacements = (("<STR_LIT>", "<STR_LIT:'>"), ("<STR_LIT>", "<STR_LIT:'>"), ("<STR_LIT>", '<STR_LIT:">'), ("<STR_LIT>", '<STR_LIT:">'))<EOL>for orig, replacement in replacements:<EOL><INDENT>name = name.replace(orig, replacement)<EOL><DEDENT>return name<EOL>
Replace curved quotes with straight quotes in a custom parameter name.
    These should be the only keys with problematic (non-ascii) characters,
    since they can be user-generated.