Improve function parse_requirements docstring

This commit is contained in:
kxrd 2017-06-10 21:22:18 +02:00
parent 882a0d3ec3
commit a78203dc2b

View File

@ -225,6 +225,10 @@ def join(f):
def parse_requirements(file_):
"""Parse a requirements formatted file.
Traverse a string until a delimiter is detected, then split at said
delimiter, get module name by element index, create a dict consisting of
module:version, and add dict to list of parsed modules.
Args:
file_: File to parse.