✏️ 正在编辑: _reqs.py
路径:
/opt/alt/python311/lib/python3.11/site-packages/setuptools/_reqs.py
提示:
您可以编辑任何文件(包括二进制文件),但请注意不当修改可能导致文件损坏。
import setuptools.extern.jaraco.text as text from pkg_resources import Requirement def parse_strings(strs): """ Yield requirement strings for each specification in `strs`. `strs` must be a string, or a (possibly-nested) iterable thereof. """ return text.join_continuation(map(text.drop_comment, text.yield_lines(strs))) def parse(strs): """ Deprecated drop-in replacement for pkg_resources.parse_requirements. """ return map(Requirement, parse_strings(strs))
💾 保存文件
← 返回文件管理器