lv1Python함수 이름목록으로

가려진 이름은 무엇일까요?

코드가 하는 일을 읽고, 가려진 빈칸에 직접 이름을 지어 넣으세요. 빈칸 폭이 원본 이름의 글자 수입니다.

utils.pysrc/requests
1def (filename: str) -> Generator[BufferedWriter, None, None]:
2
3    tmp_descriptor, tmp_name = tempfile.mkstemp(dir=os.path.dirname(filename))
4    try:
5        with os.fdopen(tmp_descriptor, "wb") as tmp_handler:
6            yield tmp_handler
7        os.replace(tmp_name, filename)
8    except BaseException:
9        os.remove(tmp_name)
10        raise