time.sleep_seconds is appealing, but this approach doesn't work when a function takes additional arguments. for example, if your function is
poll_file_descriptors(read_descriptors, write_desciptors, timeout_in_seconds)
it would be awkward to change the name of the function just because on of the arguments happens to refer to time.