Mercurial > hg > pyloader
comparison pyloader/cast.py @ 77:efb7a8a189e8
update comments/docstring
author | Jeff Hammel <jhammel@mozilla.com> |
---|---|
date | Thu, 09 Jun 2011 18:40:52 -0700 |
parents | 2261cf505daf |
children | 36f5d31c3ed6 |
comparison
equal
deleted
inserted
replaced
76:1339185cbd2d | 77:efb7a8a189e8 |
---|---|
1 #!/usr/bin/env python | |
2 | |
3 """ | |
4 cast strings to python objects | |
5 """ | |
6 | |
1 class StringCastException(Exception): | 7 class StringCastException(Exception): |
2 """raised on unsucessful cast""" | 8 """raised on unsucessful cast""" |
3 | 9 |
4 class StringCaster(object): | 10 class StringCaster(object): |
5 """cast strings to other things""" | 11 """cast strings to other things""" |