osdir.com


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

_unquote


Hi,

See the following code excerpted from https://github.com/shichao-an/
homura/blob/master/homura.py:

---
def unquote(s):
    res = s
    if not PY3:
        if isinstance(res, six.text_type):
            res = s.encode('utf-8')
    return _unquote(res)
---

I'm very confused on the  `_unquote' used above?  What's the meaning of 
it?  I cannot find its definition from the python's shipped packages.

Regards
-- 
.: Hongyi Zhao [ hongyi.zhao AT gmail.com ] Free as in Freedom :.