def urlencode(str):
    if not str:
        return ""

    return urllib.quote(str)
The Python grammar explicitly needs a newline at the end. Jedi though still
dataset/ETHPy150Open benadida/helios-server/helios/utils.py/urlencode--crossover with--dataset/ETHPy150Open davidhalter/jedi/test/test_parser/test_get_code.py/test_end_newlines