Changeset 9404dd3 in sasmodels for sasmodels/exception.py


Ignore:
Timestamp:
Dec 4, 2015 12:41:47 PM (8 years ago)
Author:
Paul Kienzle <pkienzle@…>
Branches:
master, core_shell_microgels, costrafo411, magnetic_model, release_v0.94, release_v0.95, ticket-1257-vesicle-product, ticket_1156, ticket_1265_superball, ticket_822_more_unit_tests
Children:
eaca9eb
Parents:
7bb290c
Message:

python 3.x support

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sasmodels/exception.py

    rd138d43 r9404dd3  
    2020        >>> D = {} 
    2121        >>> try: 
    22         ...    print D['hello'] 
    23         ... except Exception,exc: 
     22        ...    print(D['hello']) 
     23        ... except Exception as exc: 
    2424        ...    annotate_exception(exc, "while accessing 'D'") 
    2525        ...    raise 
Note: See TracChangeset for help on using the changeset viewer.