fix empty argument handling

Note to self: Stop thinking C when coding Python.