Ignore:
Timestamp:
Mar 19, 2014, 11:31:01 PM (11 years ago)
Author:
dmik
Message:

python: Merge vendor 2.7.6 to trunk.

Location:
python/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • python/trunk

  • python/trunk/Doc/library/xdrlib.rst

    r2 r391  
    1 
    21:mod:`xdrlib` --- Encode and decode XDR data
    32============================================
     
    109   single: XDR
    1110   single: External Data Representation
     11
     12**Source code:** :source:`Lib/xdrlib.py`
     13
     14--------------
    1215
    1316The :mod:`xdrlib` module supports the External Data Representation Standard as
     
    258261.. exception:: Error
    259262
    260    The base exception class.  :exc:`Error` has a single public data member
     263   The base exception class.  :exc:`Error` has a single public attribute
    261264   :attr:`msg` containing the description of the error.
    262265
     
    272275   try:
    273276       p.pack_double(8.01)
    274    except xdrlib.ConversionError, instance:
     277   except xdrlib.ConversionError as instance:
    275278       print 'packing the double failed:', instance.msg
    276 
Note: See TracChangeset for help on using the changeset viewer.