================
@@ -126,9 +126,9 @@ def _scan_bullet_blocks(lines: Sequence[str], start: int, 
end: int) -> ScannedBl
     return ScannedBlocks(blocks_with_pos, i)
 
 
-def read_text(path: str) -> List[str]:
+def read_text(path: str) -> str:
     with io.open(path, "r", encoding="utf-8") as f:
-        return f.read().splitlines(True)
+        return f.read()
----------------
vbvictor wrote:

Thought to make it consistent with `write_text` because it accepts `content: 
str`

https://github.com/llvm/llvm-project/pull/170975
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to