ok
Direktori : /proc/thread-self/root/proc/thread-self/root/lib64/python2.7/ |
Current File : //proc/thread-self/root/proc/thread-self/root/lib64/python2.7/xdrlib.pyo |
� zfc @ s� d Z d d l Z y d d l m Z Wn! e k rI d d l m Z n Xd d l m Z d d d d g Z d e f d � � YZ d e f d � � YZ d � Z d d d � � YZ d d d � � YZ d S( sR Implements (a subset of) Sun XDR -- eXternal Data Representation. See: RFC 1014 i����N( t StringIO( t wrapst Errort Packert Unpackert ConversionErrorc B s) e Z d Z d � Z d � Z d � Z RS( s� Exception class for this module. Use: except xdrlib.Error, var: # var has the Error instance for the exception Public ivars: msg -- contains the message c C s | | _ d S( N( t msg( t selfR ( ( s /usr/lib64/python2.7/xdrlib.pyt __init__ s c C s t | j � S( N( t reprR ( R ( ( s /usr/lib64/python2.7/xdrlib.pyt __repr__ s c C s t | j � S( N( t strR ( R ( ( s /usr/lib64/python2.7/xdrlib.pyt __str__ s ( t __name__t __module__t __doc__R R R ( ( ( s /usr/lib64/python2.7/xdrlib.pyR s c B s e Z RS( ( R R ( ( ( s /usr/lib64/python2.7/xdrlib.pyR # s c s t � � � f d � � } | S( s5 Wrap any raised struct.errors in a ConversionError. c sA y � | | � SWn) t j k r<