(s)
return encodebytes(s)
Legacy alias of encodebytes().
Legacy alias of encodebytes().
Legacy alias of encodebytes () .
def encodestring(s):
    """Legacy alias of encodebytes()."""
    import warnings
    warnings.warn("encodestring() is a deprecated alias, use encodebytes()",
                  DeprecationWarning, 2)
    return encodebytes(s)
def encodestring ( s ) : import warnings warnings . warn ( "encodestring() is a deprecated alias, use encodebytes()" , DeprecationWarning , 2 ) return encodebytes ( s )