Current Path : /usr/lib/python2.7/dist-packages/Crypto/Util/ |
Current File : //usr/lib/python2.7/dist-packages/Crypto/Util/py3compat.pyc |
ó T:´Nc @ sz d Z d Z d d l Z e j d d k rR d „ Z d „ Z d „ Z d „ Z n$ d „ Z d „ Z d „ Z d „ Z d S( sM Compatibility code for handling string/bytes changes from Python 2.x to Py3k s $Id$iÿÿÿÿNi i c C s | S( N( ( t s( ( s9 /usr/lib/python2.7/dist-packages/Crypto/Util/py3compat.pyt b! s c C s t | ƒ S( N( t chr( R ( ( s9 /usr/lib/python2.7/dist-packages/Crypto/Util/py3compat.pyt bchr# s c C s t | ƒ S( N( t str( R ( ( s9 /usr/lib/python2.7/dist-packages/Crypto/Util/py3compat.pyt bstr% s c C s t | ƒ S( N( t ord( R ( ( s9 /usr/lib/python2.7/dist-packages/Crypto/Util/py3compat.pyt bord' s c C s | j d ƒ S( Ns latin-1( t encode( R ( ( s9 /usr/lib/python2.7/dist-packages/Crypto/Util/py3compat.pyR * s c C s t | g ƒ S( N( t bytes( R ( ( s9 /usr/lib/python2.7/dist-packages/Crypto/Util/py3compat.pyR , s c C s* t | t ƒ r t | d ƒ St | ƒ Sd S( Ns latin-1( t isinstanceR R ( R ( ( s9 /usr/lib/python2.7/dist-packages/Crypto/Util/py3compat.pyR . s c C s | S( N( ( R ( ( s9 /usr/lib/python2.7/dist-packages/Crypto/Util/py3compat.pyR 3 s ( t __doc__t __revision__t syst version_infoR R R R ( ( ( s9 /usr/lib/python2.7/dist-packages/Crypto/Util/py3compat.pyt <module> s