Commit 7afb6a59 authored by Daniel Holth's avatar Daniel Holth

update docstring

--HG--
branch : distribute
extra : rebase_source : ee1bf5fd6c851fa3d9c87c1132f0864a811f09e5
parent 9b885a3c
......@@ -2469,8 +2469,9 @@ class DistInfoDistribution(Distribution):
return self.__dep_map
def _preparse_requirement(self, requires_dist):
"""Return (dist, versions, marker).
Add == prefix to version specifiers as necessary.
"""Convert 'Foobar (1); baz' to ('Foobar ==1', 'baz')
Split environment marker, add == prefix to version specifiers as
necessary, and remove parenthesis.
"""
parts = requires_dist.split(';', 1) + ['']
distvers = parts[0].strip()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment