File: //lib64/python3.6/__pycache__/base64.cpython-36.opt-1.pyc
3
  \�O  �               @   s�  d Z ddlZddlZddlZddddddd	d
ddd
dddddddgZeefZdd� ZdCdd�Z	dDdd�Z
dd� Zdd� Zej
dd�Zej
dd�Zdd� Zdd� Zd Zdadad!d	� ZdEd"d
�Zd#d� ZdFd$d�Zdadad%Zd&ZdGd'd(�Zddddd)�d*d�Zddd+d,�d-d�Zd.Z da!da"da#dHd/d
�Z$d0d� Z%d1Z&e&d2 d3 Z'd4d� Z(d5d� Z)d6d7� Z*d8d� Z+d9d:� Z,d;d� Z-d<d=� Z.d>d?� Z/d@dA� Z0e1dBk�r�e/�  dS )IzDBase16, Base32, Base64 (RFC 3548), Base85 and Ascii85 data encodings�    N�encode�decode�encodebytes�decodebytes�	b64encode�	b64decode�	b32encode�	b32decode�	b16encode�	b16decode�	b85encode�	b85decode�	a85encode�	a85decode�standard_b64encode�standard_b64decode�urlsafe_b64encode�urlsafe_b64decodec             C   sx   t | t�r2y
| jd�S  tk
r0   td��Y nX t | t�r@| S yt| �j� S  tk
rr   td| j	j
 �d �Y nX d S )N�asciiz4string argument should contain only ASCII charactersz>argument should be a bytes-like object or ASCII string, not %r)�
isinstance�strr   �UnicodeEncodeError�
ValueError�bytes_types�
memoryview�tobytes�	TypeError�	__class__�__name__)�s� r    �/usr/lib64/python3.6/base64.py�_bytes_from_decode_data"