From 1144d79a25b17ad8ca6daed41e852ed8538a1aa5 Mon Sep 17 00:00:00 2001 From: Isis Lovecruft Date: Thu, 7 Mar 2013 04:07:26 +0000 Subject: [PATCH] Update docsting for function _underscore(). --- gnupg.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/gnupg.py b/gnupg.py index fcb5035..70be36b 100644 --- a/gnupg.py +++ b/gnupg.py @@ -575,7 +575,11 @@ def _underscore(input, remove_prefix=False): Change hyphens to underscores so that GPG option names can be easily tranlated to object attributes. + @type input: C{str} @param input: The input intended for the gnupg process. + + @type remove_prefix: C{bool} + @param remove_prefix: If True, strip leading hyphens from the input. """ if not remove_prefix: return input.replace('-', '_')