Skip to content

Commit 236479b

Browse files
authored
Update _api.py
1 parent 2bdd070 commit 236479b

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

check50/_api.py

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -505,11 +505,9 @@ def _raw(s):
505505
if s == EOF:
506506
return "EOF"
507507

508-
s = repr(str(s))
509-
if s.startswith("'") and s.endswith("'"):
510-
s = f'"{s[1:-1]}"'
511-
if len(s) > 15:
512-
s = s[:15] + "...\"" # Truncate if too long
508+
s = f'"{repr(str(s))[1:-1]}"'
509+
# if len(s) > 15:
510+
# s = s[:15] + "...\"" # Truncate if too long
513511
return s
514512

515513

0 commit comments

Comments
 (0)