Skip to content

Commit 44b1b6f

Browse files
authored
Update Lib/pathlib/types.py
1 parent d2dc4b1 commit 44b1b6f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Lib/pathlib/types.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -420,7 +420,7 @@ def write_text(
420420
with magic_open(self, mode='w', encoding=encoding, errors=errors, newline=newline) as f:
421421
return f.write(data)
422422

423-
def _copy_from(self, source: _ReadablePath, follow_symlinks: bool = True) -> None:
423+
def _copy_from(self, source: _ReadablePath, *, follow_symlinks: bool = True) -> None:
424424
"""
425425
Recursively copy the given path to this path.
426426
"""

0 commit comments

Comments
 (0)