# encoding: utf-8

"""
.. codeauthor:: <NAME> <<EMAIL>>
"""

from __future__ import absolute_import


def _to_unicode(text):
    try:
        return text.decode("ascii")
    except AttributeError:
        return text

# encoding: utf-8

"""
.. codeauthor:: <NAME> <<EMAIL>>
"""

from __future__ import absolute_import


def _to_unicode(text):
    try:
        return text.decode("ascii")
    except AttributeError:
        return text

# encoding: utf-8 .. codeauthor:: <NAME> <<EMAIL>>