Add docstrings
This commit is contained in:
		| @@ -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. | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user