[util] allow 'noop()' to accept one optional argument

fixes 'NullResponse.close()'
This commit is contained in:
Mike Fährmann
2025-06-05 20:08:24 +02:00
parent 8dace96af3
commit e1f03a5a93
2 changed files with 3 additions and 1 deletions

View File

@@ -148,7 +148,7 @@ def false(_, __=None):
return False
def noop():
def noop(_=None):
"""Does nothing"""