You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
404 B
14 lines
404 B
|
|
class Among(object):
|
|
def __init__(self, s, substring_i, result, method=None):
|
|
"""
|
|
@ivar s search string
|
|
@ivar substring index to longest matching substring
|
|
@ivar result of the lookup
|
|
@ivar method method to use if substring matches
|
|
"""
|
|
self.s = s
|
|
self.substring_i = substring_i
|
|
self.result = result
|
|
self.method = method
|