diff options
author | Patrick Totzke <patricktotzke@gmail.com> | 2011-12-02 14:48:32 +0000 |
---|---|---|
committer | Patrick Totzke <patricktotzke@gmail.com> | 2011-12-02 14:48:32 +0000 |
commit | 5101185babd37b4484769d22e9a187b3f61b2ff0 (patch) | |
tree | c0b8b027e8e2feee48233d7e3ead3ef52b6d4ad9 /alot | |
parent | a82320864e768697df4f42acce246d4582ac3915 (diff) |
fix docstring of helper.safely_get
Diffstat (limited to 'alot')
-rw-r--r-- | alot/helper.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/alot/helper.py b/alot/helper.py index 8602a789..380733af 100644 --- a/alot/helper.py +++ b/alot/helper.py @@ -19,13 +19,13 @@ from settings import config def safely_get(clb, E, on_error=''): """ - returns result of callable :fun:`clb` and defaults to `on_error` + returns result of :func:`clb` and falls back to `on_error` in case `E` is raised. :param clb: function to evaluate :type clb: callable :param E: exception to catch - :type E: :class:`Exception` + :type E: Exception :param on_error: default string returned when exception is caught :type on_error: str """ |