mirror of
https://github.com/Abdess/retroarch_system.git
synced 2026-11-22 17:47:48 -06:00
docs: split clause semicolons in new comments
This commit is contained in:
1 parent
36f2d1129e
commit
f10fa21d17
12 files changed
+15
-15
No files matched your search
+1
-1
@@ -1842,7 +1842,7 @@ def read_local_json(path: Path, limit: int) -> object:
|
||||
|
||||
def write_atomically(path: Path, data: bytes) -> None:
|
||||
"""Write data at path through a scratch file beside it, removed when the
|
||||
write fails; a scratch that cannot be removed is named in the error."""
|
||||
write fails. A scratch that cannot be removed is named in the error."""
|
||||
fd, scratch = tempfile.mkstemp(dir=path.parent, prefix=f".{path.name}.", suffix=".part")
|
||||
try:
|
||||
with os.fdopen(fd, "wb") as handle:
|
||||
|
||||
Reference in new issue
Block a user