Your IP : 216.73.216.213


Current Path : /opt/alt/python27/lib/python2.7/site-packages/past/types/
Upload File :
Current File : //opt/alt/python27/lib/python2.7/site-packages/past/types/basestring.pyo

�
�A�[c@s�dZddlZddlmZmZer7eZnejd Zde	fd��YZ
dee
�fd��YZdgZdS(	s�
An implementation of the basestring type for Python 3

Example use:

>>> s = b'abc'
>>> assert isinstance(s, basestring)
>>> from past.types import str as oldstr
>>> s2 = oldstr(b'abc')
>>> assert isinstance(s2, basestring)

i����N(twith_metaclasstPY2itBaseBaseStringcBseZd�Zd�ZRS(cCst|ttf�S(N(t
isinstancetbyteststr(tclstinstance((sF/opt/alt/python27/lib/python2.7/site-packages/past/types/basestring.pyt__instancecheck__scCs
t�dS(N(tNotImplemented(Rtthing((sF/opt/alt/python27/lib/python2.7/site-packages/past/types/basestring.pyt__subclasshook__s(t__name__t
__module__RR(((sF/opt/alt/python27/lib/python2.7/site-packages/past/types/basestring.pyRs	t
basestringcBseZdZRS(sC
    A minimal backport of the Python 2 basestring type to Py3
    (RR
t__doc__(((sF/opt/alt/python27/lib/python2.7/site-packages/past/types/basestring.pyR!s(
Rtsyst
past.utilsRRtunicodeRtversion_infotverttypeRRt__all__(((sF/opt/alt/python27/lib/python2.7/site-packages/past/types/basestring.pyt<module>s