Add docstrings
This commit is contained in:
parent
9fc8eee572
commit
40f5f711ff
@ -3,9 +3,11 @@
|
||||
import configparser
|
||||
import pathlib
|
||||
|
||||
# ========== Constants ==========
|
||||
PACMAN_CONF = pathlib.Path('/etc/pacman.conf')
|
||||
|
||||
|
||||
# ========== Functions ==========
|
||||
def parse_configfile(filepath):
|
||||
"""Parse a config file given its path and return
|
||||
a ConfigParser object.
|
||||
|
Loading…
x
Reference in New Issue
Block a user