|
Server : Apache System : Linux cvar2.toservers.com 3.10.0-962.3.2.lve1.5.73.el7.x86_64 #1 SMP Wed Aug 24 21:31:23 UTC 2022 x86_64 User : njnconst ( 1116) PHP Version : 8.4.18 Disable Function : NONE Directory : /proc/self/root/lib/python2.7/site-packages/netaddr/ |
Upload File : |
� o�\c @ s� d Z d d l Z e j d d k r� e j Z e Z e Z d � Z d � Z d � Z d � Z d � Z d � Z d � Z d � Z d � Z d � Z d � Z e Z d d � Z d d � Z d � Z n� e j d d !d d g k re j Z e e f Z e Z e Z d � Z d � Z d � Z d � Z d � Z d � Z d � Z d � Z d � Z e Z d d � Z d d � Z d � Z n e d � � d S(! s� Compatibility wrappers providing uniform behaviour for Python code required to run under both Python 2.x and 3.x. All operations emulate 2.x behaviour where applicable. i����Ni i c C s t | d � S( Ns UTF-8( t bytes( t x( ( s1 /tmp/pip-install-zM1pc4/netaddr/netaddr/compat.pyt <lambda> s c C s t | t t d j � � f � S( Nt ( t isinstancet strt typet encode( R ( ( s1 /tmp/pip-install-zM1pc4/netaddr/netaddr/compat.pyR s c C s t | t � S( N( R t int( R ( ( s1 /tmp/pip-install-zM1pc4/netaddr/netaddr/compat.pyR s c C s t | d � S( Nt __call__( t hasattr( R ( ( s1 /tmp/pip-install-zM1pc4/netaddr/netaddr/compat.pyR s c C s | j S( N( t __doc__( R ( ( s1 /tmp/pip-install-zM1pc4/netaddr/netaddr/compat.pyR s c C s t | j � � S( N( t listt keys( R ( ( s1 /tmp/pip-install-zM1pc4/netaddr/netaddr/compat.pyR s c C s t | j � � S( N( R t items( R ( ( s1 /tmp/pip-install-zM1pc4/netaddr/netaddr/compat.pyR "