Skip to content

Commit 2e5aed6

Browse files
committed
Update file.py
1 parent c9e508f commit 2e5aed6

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

pkg/src/fileex/file.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ def open_file(
6262
def content(
6363
file: FileLike,
6464
*,
65-
path_can_be_str: bool,
65+
path_can_be_str: bool = True,
6666
output: Literal["str"] = "str",
6767
encoding: str = "utf-8",
6868
errors: str = "strict",
@@ -73,7 +73,7 @@ def content(
7373
def content(
7474
file: FileLike,
7575
*,
76-
path_can_be_str: bool,
76+
path_can_be_str: bool = True,
7777
output: Literal["bytes"],
7878
encoding: str = "utf-8",
7979
errors: str = "strict",

0 commit comments

Comments
 (0)