Add docstrings
This commit is contained in:
parent
9fc8eee572
commit
40f5f711ff
@ -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.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user