Chris McDonough
2011-12-28 5a3ddb76a7ac4ee6f41652f774e8387a8c9b131a
typo
1 files modified
2 ■■■ changed files
pyramid/compat.py 2 ●●● patch | view | raw | blame | history
pyramid/compat.py
@@ -33,7 +33,7 @@
def text_(s, encoding='latin-1', errors='strict'):
    """ If ``s`` is an instance of ``binary_type``, return
    ``s.encode(encoding, errors)``, otherwise return ``s``"""
    ``s.decode(encoding, errors)``, otherwise return ``s``"""
    if isinstance(s, binary_type):
        return s.decode(encoding, errors)
    return s # pragma: no cover