example: groups
authorBen McGinnes <ben@adversary.org>
Wed, 21 Mar 2018 17:04:05 +0000 (04:04 +1100)
committerBen McGinnes <ben@adversary.org>
Wed, 21 Mar 2018 17:04:05 +0000 (04:04 +1100)
* Added a docstring.

lang/python/examples/howto/groups.py

index 67fd783..e7adc44 100644 (file)
@@ -25,6 +25,12 @@ from __future__ import absolute_import, division, unicode_literals
 
 import subprocess
 
+"""
+Intended for use with other scripts.
+
+Usage: from groups import group_lines, group_lists
+"""
+
 lines = subprocess.getoutput("gpgconf --list-options gpg").splitlines()
 
 for i in range(len(lines)):