_unquote

Hongyi Zhao hongyi.zhao at gmail.com
Sun Aug 4 18:57:27 EDT 2019


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 :.



More information about the Python-list mailing list