MCPcopy Create free account
hub / github.com/apache/solr / __init__

Method __init__

dev-tools/scripts/scriptutil.py:30–37  ·  view source on GitHub ↗
(self, major, minor, bugfix, prerelease)

Source from the content-addressed store, hash-verified

28
29class Version(object):
30 def __init__(self, major, minor, bugfix, prerelease):
31 self.major = major
32 self.minor = minor
33 self.bugfix = bugfix
34 self.prerelease = prerelease
35 self.previous_dot_matcher = self.make_previous_matcher()
36 self.dot = '%d.%d.%d' % (self.major, self.minor, self.bugfix)
37 self.constant = 'LUCENE_%d_%d_%d' % (self.major, self.minor, self.bugfix)
38
39 @classmethod
40 def parse(cls, value):

Callers

nothing calls this directly

Calls 1

make_previous_matcherMethod · 0.95

Tested by

no test coverage detected