관리-도구
편집 파일: __init__.cpython-37.pyc
B ���X� � . @ s d Z ddd� ZddlmZmZmZ ddlZeejkrHedeejf ��dZd Z d Z ddlT ddlmZ dd l mZ ddlmZmZmZmZmZmZ ye W n ek r� ddlmZ Y nX G dd� de�Zeejejejg�Zeejejej ej!g�Z"eej#ej$ej%ej&ej'ej(ej)ej*g�Z+eej,ej-g�Z,eej.g�Z.eej/ej0g�Z/e/Z0e� Z1dd� Z2dd� Z3dd� Z4dd� Z5e�r�dd� Z6ndd� Z6dd� Z7e7 Z8Z9dddd d!d"d#d$d%d&d'd(d)d*d+d,d-d.d/d0d1d2dd3d4d5d6d7d8d9d:d;d<d=d>d?d@dAdBdCdDdEdFdGdHdIg.Z:dS )Ja_ MySQLdb - A DB API v2.0 compatible interface to MySQL. This package is a wrapper around _mysql, which mostly implements the MySQL C API. connect() -- connects to server See the C API specification and the MySQL documentation for more info on other items. For information on how MySQLdb handles type conversion, see the MySQLdb.converters module. z $Revision$� ���� )�__version__�version_info� __author__Nz4this is MySQLdb version %s, but _mysql is version %r� z2.0�format)�*)�PY2)� FIELD_TYPE)�Date�Time� Timestamp� DateFromTicks� TimeFromTicks�TimestampFromTicks)�ImmutableSetc @ s e Zd ZdZdd� ZdS )�DBAPISetzdA special type of set for which A == x is true if A is a DBAPISet and x is a member of that set.c C s t |t�r| �|� S || kS )N)� isinstancer � difference)�self�other� r �C/opt/alt/python37/lib64/python3.7/site-packages/MySQLdb/__init__.py�__eq__- s zDBAPISet.__eq__N)�__name__� __module__�__qualname__�__doc__r r r r r r ( s r c C s t t kst�d S )N)�STRING�AssertionErrorr r r r �test_DBAPISet_set_equality@ s r! c C s t tkst�d S )N)r �NUMBERr r r r r �test_DBAPISet_set_inequalityC s r# c C s t jtkst�d S )N)r � VAR_STRINGr r r r r r �%test_DBAPISet_set_equality_membershipF s r% c C s t jtkst�d S )N)r �DATEr r r r r r �'test_DBAPISet_set_inequality_membershipI s r'