Skip to content

Commit

Permalink
Merge pull request #7812 from atugushev/fix-preprocess-docstrig
Browse files Browse the repository at this point in the history
Fix the docstring of preprocess() function
  • Loading branch information
chrahunt authored Mar 4, 2020
2 parents ba9218d + 63d93b4 commit f2fbc7d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pip/_internal/req/req_file.py
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ def preprocess(content, skip_requirements_regex):
"""Split, filter, and join lines, and return a line iterator
:param content: the content of the requirements file
:param options: cli options
:param skip_requirements_regex: the pattern to skip lines
"""
lines_enum = enumerate(content.splitlines(), start=1) # type: ReqFileLines
lines_enum = join_lines(lines_enum)
Expand Down

0 comments on commit f2fbc7d

Please sign in to comment.