Update docsting for function _underscore().
parent
7008b10f69
commit
1144d79a25
4
gnupg.py
4
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('-', '_')
|
||||
|
|
Loading…
Reference in New Issue