"># pylint: disable=protected-access</span>
        <span class="n">stream</span><span class="o">.</span><span class="n">_set_notify_event</span><span class="p">(</span><span class="bp">self</span><span class="o">.</span><span class="n">_data_available</span><span class="p">)</span>

        <span class="k">with</span> <span class="bp">self</span><span class="o">.</span><span class="n">_stream_lock</span><span class="p">:</span>
            <span class="bp">self</span><span class="o">.</span><span class="n"