코드가 하는 일을 읽고, 가려진 빈칸에 직접 이름을 지어 넣으세요. 빈칸 폭이 원본 이름의 글자 수입니다.
1def (content: str) -> list[str]: 2 3 warnings.warn( 4 ( 5 "..." 6 "more information, please see the discussion on issue #2266. (This" 7 " warning should only appear once.)" 8 ), 9 DeprecationWarning, 10 ) 11 12 charset_re = re.compile(r'<meta.*?charset=["\']*(.+?)["\'>]', flags=re.I) 13 pragma_re = re.compile(r'<meta.*?content=["\']*;?charset=(.+?)["\'>]', flags=re.I) 14 xml_re = re.compile(r'^<\?xml.*?encoding=["\']*(.+?)["\'>]') 15 16 return ( 17 charset_re.findall(content) 18 + pragma_re.findall(content) 19 + xml_re.findall(content) 20 )