Home
last modified time | relevance | path

Searched refs:versionPredicateStr (Results 1 – 2 of 2) sorted by relevance

/external/python/cpython3/Lib/distutils/
Dversionpredicate.py96 def __init__(self, versionPredicateStr): argument
103 versionPredicateStr = versionPredicateStr.strip()
104 if not versionPredicateStr:
106 match = re_validPackage.match(versionPredicateStr)
108 raise ValueError("bad package name in %r" % versionPredicateStr)
119 % versionPredicateStr)
/external/python/cpython2/Lib/distutils/
Dversionpredicate.py95 def __init__(self, versionPredicateStr): argument
102 versionPredicateStr = versionPredicateStr.strip()
103 if not versionPredicateStr:
105 match = re_validPackage.match(versionPredicateStr)
107 raise ValueError("bad package name in %r" % versionPredicateStr)
118 % versionPredicateStr)