Skip to content

Commit e92db90

Browse files
committed
Removed literal type from default
1 parent f75c97d commit e92db90

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/io/json/_json.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ def to_json(
153153
indent: int = 0,
154154
storage_options: StorageOptions | None = None,
155155
mode: Literal["a", "w"] = "w",
156-
escape_forward_slashes: Literal[True, False] = Literal[True],
156+
escape_forward_slashes: Literal[True, False] = True,
157157
) -> str | None:
158158
if orient in ["records", "values"] and index is True:
159159
raise ValueError(

0 commit comments

Comments
 (0)