tained within start&hellip;end</p></div>
<details class="source">
<summary>
<span>Expand source code</span>
</summary>
<pre><code class="python">def within(self, start, end):
    &#34;&#34;&#34;
    Returns intervals which are fully contained within start...end
    &#34;&#34;&#34;
    # get all the intervals that start within the range, then keep those which also end within the range
    for intvl in self._by_start.irange(
        minimum=(start, 0, 0), maximum=(end, sys.maxsize, sys.maxsize)
    ):
       