<div><div>I made a mistake before  ,<span style="line-height: 1.5; font-size: 14px;">the three<span id="_editor_bookmark_start_0" style="display: none; line-height: 0px;">‍</span></span><span style="line-height: 1.5; font-size: 14px;"> lines code all worked ,just consider my suggestion for </span><span style="line-height: 1.5; font-size: 14px;">letting disconnect([slot]) in the New-style Signal and Slot returns a bool value to hint if the connection is broken or not</span><span style="line-height: 1.5; font-size: 14px;"> .<span id="_editor_bookmark_start_1" style="display: none; line-height: 0px;">‍</span></span></div><blockquote>              print(self.clipboard.dataChanged.disconnect())<br> #            print(self.clipboard.dataChanged.disconnect(self.detectUrl))  #<br>#            print(QObject.disconnect(self.clipboard, SIGNAL('dataChanged()'),self.detectUrl))<br>I have tried the three,but only the uncommonted one worked,is there something wrong in <span style="line-height: 1.5; font-size: 14px;"> </span><span style="line-height: 1.5; font-size: 14px;">my code with <span id="_editor_bookmark_start_4" style="display: none; line-height: 0px;">‍</span></span><span style="line-height: 1.5; font-size: 14px;">the other two?</span><br> I think it would be better to let disconnect([slot]) in the New-style Signal and Slot return a bool value to hint if the connection is broken or not ,currently just return none</blockquote></div><div><span id="_editor_bookmark_start_0" style="display: none; line-height: 0px;">‍</span></div>