Spade
Mini Shell
| Directory:~$ /proc/self/root/usr/lib/python2.7/site-packages/past/types/ |
| [Home] [System Details] [Kill Me] |
�
,�]c@s�dZddlZddlmZmZer7eZnejd Zde fd��YZ
dee
�fd��YZdgZdS( 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((s9/usr/lib/python2.7/site-packages/past/types/basestring.pyt__instancecheck__scCs
t�dS(N(tNotImplemented(Rtthing((s9/usr/lib/python2.7/site-packages/past/types/basestring.pyt__subclasshook__s(t__name__t
__module__RR(((s9/usr/lib/python2.7/site-packages/past/types/basestring.pyRs t
basestringcBseZdZRS(sC
A minimal backport of the Python 2 basestring type to Py3
(RR
t__doc__(((s9/usr/lib/python2.7/site-packages/past/types/basestring.pyR!s(
Rtsyst
past.utilsRRtunicodeRtversion_infotverttypeRRt__all__(((s9/usr/lib/python2.7/site-packages/past/types/basestring.pyt<module>s