(input, errors='strict')
return (output, len(input))
Decode the input, returning a tuple (output object, length consumed).

    errors defines the error handling to apply. It defaults to
    'strict' handling which is the only currently supported
    error handling for this codec.
Decode the input, returning a tuple (output object, length consumed).
Decode the input returning a tuple ( output object length consumed ) .
def quopri_decode(input, errors='strict'):
    """Decode the input, returning a tuple (output object, length consumed).

    errors defines the error handling to apply. It defaults to
    'strict' handling which is the only currently supported
    error handling for this codec.

    """
    assert errors == 'strict'
    f = StringIO(str(input))
    g = StringIO()
    quopri.decode(f, g)
    output = g.getvalue()
    return (output, len(input))
def quopri_decode ( input , errors = 'strict' ) : assert errors == 'strict' f = StringIO ( str ( input ) ) g = StringIO ( ) quopri . decode ( f , g ) output = g . getvalue ( ) return ( output , len ( input ) )