We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c9e508f commit 2e5aed6Copy full SHA for 2e5aed6
1 file changed
pkg/src/fileex/file.py
@@ -62,7 +62,7 @@ def open_file(
62
def content(
63
file: FileLike,
64
*,
65
- path_can_be_str: bool,
+ path_can_be_str: bool = True,
66
output: Literal["str"] = "str",
67
encoding: str = "utf-8",
68
errors: str = "strict",
@@ -73,7 +73,7 @@ def content(
73
74
75
76
77
output: Literal["bytes"],
78
79
0 commit comments