<html><head></head><body><div class="ydpbed7527eyahoo-style-wrap" style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:16px;"><div></div>
        <div dir="ltr" data-setdir="false">Oops, I was looking at the wrong documentation.</div><div dir="ltr" data-setdir="false">Thanks for pointing that out.</div><div dir="ltr" data-setdir="false"><br></div><div><br></div>
        
        </div><div id="ydp6893db78yahoo_quoted_4491810611" class="ydp6893db78yahoo_quoted">
            <div style="font-family:'Helvetica Neue', Helvetica, Arial, sans-serif;font-size:13px;color:#26282a;">
                
                <div>
                    On Wednesday, January 18, 2023 at 09:27:40 AM MST, Juan José Gómez Romera <jjgomera@gmail.com> wrote:
                </div>
                <div><br></div>
                <div><br></div>
                <div><div id="ydp6893db78yiv6423753446"><div><div dir="ltr">As you can see <a shape="rect" href="https://doc.qt.io/qt-6/qthreadpool.html#contains" rel="nofollow" target="_blank">here</a>, QThreadPool.contains was introduced in Qt6, so it don't exist in Qt5<br clear="none"></div><br clear="none"><div id="ydp6893db78yiv6423753446yqt70030" class="ydp6893db78yiv6423753446yqt0104972888"><div class="ydp6893db78yiv6423753446gmail_quote"><div dir="ltr" class="ydp6893db78yiv6423753446gmail_attr">El mar, 17 ene 2023 a las 21:26, <a shape="rect" href="mailto:henry.wede@yahoo.com" rel="nofollow" target="_blank">henry.wede@yahoo.com</a> (<<a shape="rect" href="mailto:henry.wede@yahoo.com" rel="nofollow" target="_blank">henry.wede@yahoo.com</a>>) escribió:<br clear="none"></div><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex;" class="ydp6893db78yiv6423753446gmail_quote"><div><div style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:16px;"><div dir="ltr">Hello,</div><div dir="ltr"><br clear="none"></div><div dir="ltr">Is QThreadPool missing "contains" or am I doing something wrong?</div><div dir="ltr"><br clear="none"></div><div dir="ltr"><br clear="none"></div><div dir="ltr"><div><div>>>> from PyQt5.QtCore import QThreadPool, QRunnable</div><div>>>> TP = QThreadPool()</div><div>>>> Check = TP.contains(Whatever)</div><div>Traceback (most recent call last):</div><div>  File "<stdin>", line 1, in <module></div><div>AttributeError: 'QThreadPool' object has no attribute 'contains'</div></div><br clear="none"></div><div dir="ltr"><br clear="none"></div><div dir="ltr">Yes, I have tried it with "proper code" and the result is the same.</div><div dir="ltr"><br clear="none"></div><div dir="ltr">Thanks for your insight.</div><div dir="ltr"><br clear="none"></div></div></div></blockquote></div></div>
</div></div></div>
            </div>
        </div></body></html>