Changeset 9404dd3 in sasmodels for sasmodels/exception.py
- Timestamp:
- Dec 4, 2015 12:41:47 PM (8 years ago)
- 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
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sasmodels/exception.py
rd138d43 r9404dd3 20 20 >>> D = {} 21 21 >>> try: 22 ... print D['hello']23 ... except Exception ,exc:22 ... print(D['hello']) 23 ... except Exception as exc: 24 24 ... annotate_exception(exc, "while accessing 'D'") 25 25 ... raise
Note: See TracChangeset
for help on using the changeset viewer.