File: //lib64/python3.6/__pycache__/base64.cpython-36.opt-2.pyc
3
  \�O  �               @   s�  d dl Z d dlZd dlZdddddddd	d
ddd
ddddddgZeefZdd� ZdBdd�ZdCdd�Z	dd� Z
dd� Zejdd�Z
ejdd�Zdd� Zdd� ZdZdadad d� ZdDd!d	�Zd"d
� ZdEd#d�Zdadad$Zd%ZdFd&d'�Zdd ddd(�d)d�Zddd*d+�d,d�Zd-Zda da!da"dGd.d�Z#d/d
� Z$d0Z%e%d1 d2 Z&d3d� Z'd4d� Z(d5d6� Z)d7d� Z*d8d9� Z+d:d� Z,d;d<� Z-d=d>� Z.d?d@� Z/e0dAk�r�e.�  dS )H�    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"