(arg)
return True
Check if text-encoding argument is acceptable.
Check if text-encoding argument is acceptable.
Check if text - encoding argument is acceptable .
def _check_text_encoding(arg):
    """Check if text-encoding argument is acceptable."""
    try:
        codecs.lookup(arg)
    except LookupError:
        return False
    return True
def _check_text_encoding ( arg ) : try : codecs . lookup ( arg ) except LookupError : return False return True