Add docstrings

This commit is contained in:
Eric Torres 2019-01-30 17:05:49 -08:00
parent 9fc8eee572
commit 40f5f711ff

View File

@ -3,9 +3,11 @@
import configparser import configparser
import pathlib import pathlib
# ========== Constants ==========
PACMAN_CONF = pathlib.Path('/etc/pacman.conf') PACMAN_CONF = pathlib.Path('/etc/pacman.conf')
# ========== Functions ==========
def parse_configfile(filepath): def parse_configfile(filepath):
"""Parse a config file given its path and return """Parse a config file given its path and return
a ConfigParser object. a ConfigParser object.