[Backport maintenance/3.3.x] Fix a false positive for invalid-getnewargs-ex-returned
#10006
Loading
invalid-getnewargs-ex-returned
#10006