__getattr__(self,
attr)
(Qualification operator)
Make it easy to get non-fuzzy starts and ends.
We override get_attribute here so that in non-fuzzy cases we can
just return the start and end position without any hassle.
To get fuzzy start and ends, just ask for item.start and item.end.
To get non-fuzzy attributes (ie. the position only) ask for
'item.nofuzzy_start', 'item.nofuzzy_end'. These should return the
largest range of the fuzzy position. So something like:
(10.20)..(30.40) should return 10 for start, and 40 for end.
-
|