Skip to content

Commit 381dce3

Browse files
SFuller4mroeschke
andauthored
Update pandas/io/json/_json.py
Co-authored-by: Matthew Roeschke <10647082+mroeschke@users.noreply.github.com>
1 parent 4b33afa commit 381dce3

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
@@ -149,7 +149,7 @@ def to_json(
149149

150150
if mode not in ["a", "w"]:
151151
msg = (
152-
f"mode={repr(mode)} is not a valid option."
152+
f"mode={mode} is not a valid option."
153153
"Only 'w' and 'a' are currently supported."
154154
)
155155
raise ValueError(msg)

0 commit comments

Comments
 (0)