Skip to content

Commit

Permalink
Update (correct) _separate_script docstring.
Browse files Browse the repository at this point in the history
  • Loading branch information
jaraco committed Jan 23, 2023
1 parent 4d46b97 commit 12ad621
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions pip_run/commands.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,7 @@ def _is_python_arg(item: str):

def _separate_script(args):
"""
Inject a double-dash before the first arg that appears to be an
extant Python script.
Split arguments into install and python args based on inferenece.
>>> _separate_script(['foo', 'bar'])
(['foo', 'bar'], [])
Expand Down

0 comments on commit 12ad621

Please sign in to comment.